|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
The surface section control function. More...
#include <op_swept_parameter.h>
Public Member Functions | |
| MbSectionRule () | |
| Empty constructor. | |
| MbSectionRule (MbFunction *fun) | |
| The constructor by function. | |
| MbSectionRule (MbCurve3D *cur) | |
| The constructor by function. | |
| MbSectionRule (MbSurface *sur, bool side=true) | |
| The constructor by surface. | |
| MbSectionRule (MbFaceShell *she, bool side=true) | |
| The constructor by shell. | |
| MbSectionRule (const MbSectionRule &other) | |
| Copy-constructor. | |
| MbSectionRule (const MbSectionRule &other, MbRegDuplicate *ireg) | |
| Copy-constructor. | |
| MbSectionRule (MbFunction *func, MbeSmoothForm sf) | |
| Copy-constructor without pointer copy. | |
| ~MbSectionRule () | |
| Destructor. | |
| const MbFunction * | GetFunction () const |
| Get section control function. | |
| void | SetFunction (MbFunction &f) |
| Set section control function. | |
| const MbCurve3D * | GetCurve () const |
| Get section control curve. | |
| void | SetCurve (MbCurve3D &c) |
| Set section control curve. | |
| const MbSurface * | GetSurface () const |
| Get section control surface. | |
| void | SetSurface (MbSurface &s) |
| Set section control surface. | |
| const MbFaceShell * | GetShell () const |
| Get section control shell. | |
| void | SetShell (MbFaceShell &s) |
| Set section control shell. | |
| bool | GetFaceSide () const |
| On which side to touch surfaces? | |
| void | GetFaceIndex (std::vector< MbItemIndex > &fas) const |
| Get used face numbers. | |
| size_t | GetFaceIndexCount () const |
| Get used faces count. | |
| MbItemIndex | GetFaceIndex (size_t i) const |
| Get face number. | |
| void | AddFaceIndex (size_t faceInd) |
| Set face number. | |
| MbeSmoothForm | GetSubForm () const |
| Get a blend surface cross-section form (fillet or chamfer). | |
| void | SetSubForm (MbeSmoothForm f) |
| Set a blend surface cross-section form (fillet or chamfer). | |
| double | GetRatio () const |
| Get the ratio. | |
| void | SetRatio (double r) |
| Set the ratio. | |
| void | Transform (const MbMatrix3D &matr, MbRegTransform *iReg=nullptr) |
| Transform the object. | |
| void | Move (const MbVector3D &to, MbRegTransform *iReg=nullptr) |
| Move the object. | |
| void | Rotate (const MbAxis3D &axis, double angle, MbRegTransform *iReg=nullptr) |
| Rotate the object. | |
| bool | IsSame (const MbSectionRule &other, double accuracy) const |
| Determine whether an object is equal? | |
| bool | IsSimilar (const MbSectionRule &other) const |
| Determine whether the objects are similar. | |
| bool | SetEqual (const MbSectionRule &other) |
| Make objects equal. | |
| void | operator= (const MbSectionRule &other) |
| Assignment operator without copying. | |
| void | Init (MbFunction *func, MbeSmoothForm sf) |
| Data copy without pointer copy. | |
The surface section control function.
The surface section form is determined by the section control function (radius or discriminant). If the section control function is not determined, it is calculated with curve that the section should pass through or surface that the section should touch.