|
C3D Toolkit
Kernel - 118060, Vision - 2.15.0.1825
|
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 MbPlacement3D & | GetSketchPlace () const |
| Get the local coordinate system of two-dimensional curves. | |
| MbPlacement3D & | SetSketchPlace () |
| Get the local coordinate system of two-dimensional curves. | |
| const MbVector3D & | GetSketchDirection () const |
| Get the extrusion direction vector of two-dimensional curves. | |
| MbVector3D & | SetSketchDirection () |
| Get the extrusion direction vector of two-dimensional curves. | |
| const MbeSenseValue | GetSketchSense () const |
| Get extrusion direction of two-dimensional curves. | |
| MbeSenseValue & | SetSketchSense () |
| Get extrusion direction of two-dimensional curves. | |
| void | SetSketchSense (MbeSenseValue zdir) |
| Set extrusion direction of two-dimensional curves. | |
| const MbContour * | GetSketchCurve (size_t k) const |
| Get two-dimensional curve by index. | |
| MbContour * | SetSketchCurve (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 MbCurve3D * | GetSpaceCurve (size_t k) const |
| Get a spatial curve by index. | |
| MbCurve3D * | SetSpaceCurve (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 MbSurface * | GetSurface (size_t k) const |
| Get a surface by index. | |
| MbSurface * | SetSurface (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 MbCreator * | GetCreator (size_t k) const |
| Get constructor by index. | |
| MbCreator * | SetCreator (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 MbFaceShell * | GetSolidShell () const |
| Get stored shell. | |
| MbFaceShell * | CreateShell (MbeCopyMode copyMode) |
| Create a shell by creators (solidShell remains unchanged). | |
| bool | UpdateShell (MbeCopyMode copyMode) |
| Create a shell by creators (solidShell remains unchanged). | |
| size_t | GetWFrameCreatorsCount () const |
| Get number of wire frame creators. | |
| const MbCreator * | GetWireFrameCreator (size_t k) const |
| Get wire frame constructor by index. | |
| MbCreator * | SetWireFrameCreator (size_t k) |
| Get wire frame constructor by index. | |
| MbWireFrame * | CreateWireFrame (MbeCopyMode copyMode) |
| Create a wire frame by creators. | |
| 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). | |
| void | AddRegistrator (MbRegDuplicate *reg) const |
| Add the register. | |
| void | RemoveRegistrator (MbRegDuplicate *reg) const |
| Remove the register. | |
| 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. | |
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, shells and wire frame. Truncating elements are used in the creator of truncated shell MbTruncatedShell and in the creator of shell with face splitting MbSplitShell.