C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Curve for the patch construction. More...

#include <op_shell_parameter.h>

+ Inheritance diagram for MbPatchCurve:
+ Collaboration diagram for MbPatchCurve:

Public Member Functions

 MbPatchCurve (const MbCurve3D &, const MbMatrix3D &)
 Constructor by a curve (copies a curve, transforms by the matrix).
 
 MbPatchCurve (const MbCurveEdge &, const MbMatrix3D &)
 Constructor by an edge (copies a curve, transforms by the matrix).
 
 MbPatchCurve (const MbEdge &, const MbMatrix3D &)
 Constructor by an edge (copies a curve, transforms by the matrix).
 
 MbPatchCurve (MbCurveMate &curveMate)
 Curve constructor with mate without copying.
 
 MbPatchCurve (const MbPatchCurve &, MbRegDuplicate *iReg)
 Copy constructor with copy registrar.
 
virtual ~MbPatchCurve ()
 Destructor.
 
bool IsSurfOne () const
 There is face with the first surface from the intersection curve in the edge.
 
bool IsSurfTwo () const
 There is face with the second surface from the intersection curve in the edge.
 
double GetBegTolerance () const
 Binding tolerance at the start.
 
double GetEndTolerance () const
 Binding tolerance at the start.
 
const MbCurve3DGetCurve () const
 Get a curve.
 
MbCurve3DSetCurve ()
 Get a curve for changing.
 
bool IsUsed () const
 Is curve used?
 
void SetUsed (bool b) const
 Set flag of using curve.
 
const MbCurveMateGetCurveWithMate () const
 Get a curve.
 
MbCurveMateSetCurveWithMate ()
 Get a curve.
 
const MbPatchMatingGetMating () const
 Get the conjugation.
 
MbPatchMatingSetMating ()
 Get the conjugation.
 
void SetMating (MbePatchMatingType type, const MbSurface *surface)
 Set the conjugation.
 
void SetMating (size_t segInd, MbePatchMatingType type, const MbSurface *surface)
 Set the conjugation of segment.
 
MbePatchMatingType GetMaximumMatingType (const MbPatchCurve &prevCurve, const MbPatchCurve &nextCurve, const MbSurface &matingSurface) const
 The maximum mating type that can be set. More...
 
void Decompose (std::vector< SPtr< MbPatchCurve >> &patchCurves) const
 Divide the path into segments.
 
- Public Member Functions inherited from MbRefItem
virtual MbeRefType RefType () const
 Registration type (for copying, duplication).
 
refcount_t GetUseCount () const
 Get count of references (get count of owners of an object).
 
refcount_t AddRef () const
 Increase count of references by one.
 
refcount_t DecRef () const
 Decrease count of references by one.
 
refcount_t Release () const
 Decrease count of references by one and if count of references became zero, then remove itself.
 

Additional Inherited Members

- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 

Detailed Description

Curve for the patch construction.

Curve for the patch construction and parameters of its environment.

Member Function Documentation

◆ GetMaximumMatingType()

MbePatchMatingType MbPatchCurve::GetMaximumMatingType ( const MbPatchCurve prevCurve,
const MbPatchCurve nextCurve,
const MbSurface matingSurface 
) const

The maximum mating type that can be set.

The maximum mating type that can be specified for the given curve and given surface.

Parameters
[in]prevCurve- The previous patch boundary.
[in]nextCurve- The next patch boundary.
[in]matingSurface- Mating surface.
Returns
pmt_None - If it is impossible to set a mating to a given surface for a given boundary. pmt_Tangent - If you can specify a pairing of type pmt_Tangent. pmt_SmoothG2 - If you can specify a pairings of types pmt_Tangent and pmt_SmoothG2.

The documentation for this class was generated from the following file: