C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Truncating elements. More...

#include <cr_split_data.h>

+ Inheritance diagram for MbSplitData:
+ Collaboration diagram for MbSplitData:

Public Member Functions

 MbSplitData ()
 Constructor.
 
 MbSplitData (const MbPlacement3D &pl, MbeSenseValue dirSense, const MbContour &item, bool same)
 Constructor by two-dimensional contour in the local coordinate system.
 
 MbSplitData (const MbPlacement3D &pl, const MbVector3D &dir, const MbContour &item, bool same)
 Constructor by two-dimensional contour in the local coordinate system.
 
template<class PlaneContoursVector >
 MbSplitData (const MbPlacement3D &pl, MbeSenseValue dirSense, const PlaneContoursVector &items, bool same)
 Constructor by two-dimensional contours in the local coordinate system.
 
template<class PlaneContoursVector >
 MbSplitData (const MbPlacement3D &pl, const MbVector3D &dir, const PlaneContoursVector &items, bool same)
 Constructor by two-dimensional contours in the local coordinate system.
 
 MbSplitData (const c3d::ConstSpaceCurvesSPtrVector &items, bool same)
 Constructor by spatial curves.
 
 MbSplitData (const c3d::ConstSpaceCurvesVector &items, bool same)
 Constructor by spatial curves.
 
 MbSplitData (const MbSurface &item, bool same)
 Constructor by a surface.
 
 MbSplitData (const c3d::ConstSurfacesSPtrVector &items, bool same)
 Constructor by surfaces.
 
 MbSplitData (const c3d::ConstSurfacesVector &items, bool same)
 Constructor by surfaces.
 
 MbSplitData (const MbSolid &solid, bool same, bool keepShell)
 Constructor by a solid.
 
 MbSplitData (const MbSplitData &, bool same, MbRegDuplicate *iReg)
 Copy constructor with registrator of copying.
 
 ~MbSplitData ()
 Destructor.
 
bool InitPlaneContour (const MbPlacement3D &pl, MbeSenseValue dirSense, const MbContour &item, bool same)
 Initialize by two-dimensional contour in the local coordinate system.
 
bool InitPlaneContour (const MbPlacement3D &pl, const MbVector3D &dir, const MbContour &item, bool same)
 Initialize by two-dimensional contour in the local coordinate system.
 
template<class PlaneContoursVector >
bool InitPlaneContours (const MbPlacement3D &pl, MbeSenseValue dirSense, const PlaneContoursVector &items, bool same)
 Initialize by two-dimensional contours in the local coordinate system.
 
template<class PlaneContoursVector >
bool InitPlaneContours (const MbPlacement3D &pl, const MbVector3D &dir, const PlaneContoursVector &items, bool same)
 Initialize by two-dimensional contours in the local coordinate system.
 
template<class SpaceCurvesVector >
bool InitSpaceCurves (const SpaceCurvesVector &items, bool same)
 Initialize by spatial curves.
 
template<class SurfacesVector >
bool InitSurfaces (const SurfacesVector &items, bool same)
 Initialize by surfaces.
 
bool InitSolid (const MbSolid &solid, bool same, bool keepShell)
 Initialize by a solid.
 
template<class CreatorsVector >
bool InitSolid (const CreatorsVector &solidCreators, bool sameCreators)
 Initialize by solid creators.
 
bool SetEqual (const MbSplitData &)
 Make equal.
 
bool IsSimilar (const MbSplitData &) const
 Determine whether the objects are similar.
 
void Transform (const MbMatrix3D &, MbRegTransform *=nullptr)
 Transform element according to the matrix.
 
void Move (const MbVector3D &, MbRegTransform *=nullptr)
 Shift by a vector.
 
void Rotate (const MbAxis3D &, double angle, MbRegTransform *=nullptr)
 Rotate about an axis.
 
bool IsEmpty () const
 Are the objects absent?
 
bool IsSame (const MbSplitData &, double accuracy) const
 Determine whether an object is equal?
 
Access to a sketch.
size_t GetSketchCurvesCount () const
 Get number of two-dimensional curves.
 
const MbPlacement3DGetSketchPlace () const
 Get the local coordinate system of two-dimensional curves.
 
MbPlacement3DSetSketchPlace ()
 Get the local coordinate system of two-dimensional curves.
 
const MbVector3DGetSketchDirection () const
 Get the extrusion direction vector of two-dimensional curves.
 
MbVector3DSetSketchDirection ()
 Get the extrusion direction vector of two-dimensional curves.
 
const MbeSenseValue GetSketchSense () const
 Get extrusion direction of two-dimensional curves.
 
MbeSenseValueSetSketchSense ()
 Get extrusion direction of two-dimensional curves.
 
void SetSketchSense (MbeSenseValue zdir)
 Set extrusion direction of two-dimensional curves.
 
const MbContourGetSketchCurve (size_t k) const
 Get two-dimensional curve by index.
 
MbContourSetSketchCurve (size_t k)
 Get two-dimensional curve by index.
 
template<class PlaneContoursVector >
void GetSketchCurves (PlaneContoursVector &curvs) const
 Get all two-dimensional curves.
 
bool DeleteSketchCurve (size_t k)
 Delete two-dimensional curve by index.
 
Access to spatial curves.
size_t GetSpaceCurvesCount () const
 Get number of spatial curves.
 
const MbCurve3DGetSpaceCurve (size_t k) const
 Get a spatial curve by index.
 
MbCurve3DSetSpaceCurve (size_t k)
 Get a spatial curve by index.
 
template<class SpaceCurvesVector >
void GetSpaceCurves (SpaceCurvesVector &curvs) const
 Get all spatial curves.
 
bool SetSpaceCurve (const MbCurve3D &curve, size_t k)
 Set spatial curve by index.
 
Access to surfaces.
size_t GetSurfacesCount () const
 Get number of surfaces.
 
const MbSurfaceGetSurface (size_t k) const
 Get a surface by index.
 
MbSurfaceSetSurface (size_t k)
 Get a surface by index.
 
template<class SurfacesVector >
void GetSurfaces (SurfacesVector &surfs) const
 Get all surfaces.
 
bool SetSurface (const MbSurface &surface, size_t k)
 Set a surface by index.
 
Access to creators.
size_t GetCreatorsCount () const
 Get number of solid creators.
 
const MbCreatorGetCreator (size_t k) const
 Get constructor by index.
 
MbCreatorSetCreator (size_t k)
 Get constructor by index.
 
template<class CreatorsVector >
void GetCreators (CreatorsVector &crs) const
 Get all creators.
 
template<class CreatorsVector >
void GetCreatorsCopies (CreatorsVector &crs) const
 Get all creators.
 
template<class CreatorsVector >
void SetCreators (CreatorsVector &crs)
 Get all creators.
 
const MbFaceShellGetSolidShell () const
 Get stored shell.
 
MbFaceShellCreateShell (MbeCopyMode copyMode)
 Create a shell by creators (solidShell remains unchanged).
 
bool UpdateShell (MbeCopyMode copyMode)
 Create a shell by creators (solidShell remains unchanged).
 
void DeleteItems ()
 Delete data.
 
void ReadItems (reader &)
 Read data.
 
void WriteItems (writer &) const
 Write data.
 
void GetProperties (MbProperties &)
 Get properties of the object.
 
void SetProperties (const MbProperties &)
 Set properties of the object.
 
void GetBasisItems (RPArray< MbSpaceItem > &)
 Get the base objects.
 
void GetBasisPoints (MbControlData3D &) const
 Get control points of object.
 
void SetBasisPoints (const MbControlData3D &)
 Change the object by control points.
 
- 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

Truncating elements.

Truncating elements are used for splitting faces into parts and truncation of shells. Truncating can be performed by two-dimensional curves located in the XY plane of the local coordinate system, by three-dimensional curves, surfaces and shells. Truncating elements are used in the creator of truncated shell MbTruncatedShell and in the creator of shell with face splitting MbSplitShell.


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