C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
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) | |
The constructor by surface. | |
MbSectionRule (MbFaceShell *sur) | |
The constructor by shell. | |
MbSectionRule (const MbSectionRule &other) | |
Copy-constructor. | |
MbSectionRule (const MbSectionRule &other, MbRegDuplicate *ireg) | |
Copy-constructor. | |
~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. | |
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. | |
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.