C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
MbPntMatingData< Vector > Class Template Reference

Parameters of conjugation at point. More...

#include <mb_point_mating.h>

+ Inheritance diagram for MbPntMatingData< Vector >:
+ Collaboration diagram for MbPntMatingData< Vector >:

Public Member Functions

 MbPntMatingData ()
 Default constructor.
 
 MbPntMatingData (const MbeMatingType type, const Vector *tang, const Vector *tangDer1, const Vector *tangDer2, SArray< ptrdiff_t > *&changedPnts, bool movePnts, bool isAttach)
 Constructor by all parameters of conjugation at point.
 
 MbPntMatingData (const MbPntMatingData &)
 Copy-constructor.
 
 ~MbPntMatingData ()
 Destructor.
 
void Init (const MbeMatingType type, const Vector *tang, const Vector *tangDer1, const Vector *tangDer2, SArray< ptrdiff_t > *&changedPnts, bool movePnts, bool isAttach)
 Initialize by all parameters of conjugation at point.
 
bool Init (const MbPntMatingData &)
 Initialize by another parameters object of conjugation at point.
 
MbeMatingType GetType () const
 Get conjugation type.
 
const Vector * GetTangent () const
 Get guide tangent vector.
 
const Vector * GetTangentDer1 () const
 Get the first derivative of tangent vector.
 
const Vector * GetTangentDer2 () const
 Get the second derivative of tangent vector.
 
bool IsAttach () const
 Get attribute of tangent directions coincidence at conjugation point.
 
bool CanMovePoints () const
 Get attribute of source points movability.
 
const SArray< ptrdiff_t > * GetChangedPoints () const
 Get array of changed points.
 
SArray< ptrdiff_t > *& SetChangedPoints ()
 Get array of changed points.
 
bool IsSame (const MbPntMatingData< Vector > &, double accuracy) const
 Determine whether an object is equal?
 
bool IsValid () const
 Initial check of parameters correctness.
 
void SetVector (ptrdiff_t i, const Vector &vect)
 Set conjugation parameters.
 
void NormalizeAttachTangent ()
 Normalize tangent in case of connection.
 
size_t GetSmoothDegree () const
 Get the actual smoothness degree of visual transition.
 
void GetProperties (MbProperties &)
 Get properties of the object.
 
void SetProperties (const MbProperties &)
 Set properties of the object.
 
- 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

template<class Vector>
class MbPntMatingData< Vector >

Parameters of conjugation at point.


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