C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Data to create fillet between disjoint faces. More...
#include <op_shell_parameter.h>
Public Member Functions | |
MbFilletData () | |
Empty constructor. | |
MbFilletData (const MbFilletBundle &faces1, const MbFilletBundle &faces2, bool split, bool elong, MbeSideShape shape, bool prol, ThreeStates kCant, bool equable, const MbSNameMaker &nameMaker) | |
Constructor by parameters. More... | |
MbFilletData (const MbFilletData &other, MbRegDuplicate *iReg) | |
Copy-constructor with registrator. | |
~MbFilletData () | |
Destructor. | |
const MbFilletBundle & | GetFaceSet1 () const |
Get the first solid and set of conjugating faces. | |
const MbFilletBundle & | GetFaceSet2 () const |
Get the second solid and set of conjugating faces. | |
const c3d::SolidSPtr & | GetSolid1 () const |
Get the first solid. | |
const c3d::SolidSPtr & | GetSolid2 () const |
Get the second solid. | |
void | GetFaces1 (std::vector< MbFace * > &fas) const |
Get surfaces. | |
void | GetFaces2 (std::vector< MbFace * > &fas) const |
Get surfaces. | |
void | GetFaceSide1 (std::vector< bool > &fSide) const |
On which sides to touch surfaces? | |
void | GetFaceSide2 (std::vector< bool > &fSide) const |
On which sides to touch surfaces? | |
void | GetFaceIndex1 (std::vector< MbItemIndex > &fas) const |
Get reference face numbers. | |
const MbFace * | GetFace1 (size_t i=0) const |
Get the face by index in first bundle. | |
const MbFace * | GetFace2 (size_t i=0) const |
Get the face by index in second bundle. | |
void | SetFaceSet1 (const MbFilletBundle &set) |
Get the first set of conjugating faces. | |
void | SetFaceSet2 (const MbFilletBundle &set) |
Get the second set of conjugating faces. | |
const c3d::FunctionSPtr & | GetFunction1 () const |
Get the function of fillet radius for the first face set. | |
const c3d::FunctionSPtr & | GetFunction2 () const |
Get the function of fillet radius for the second face set. | |
void | SetFunction1 (MbFunction &f) |
Set the function of fillet radius for the face set. | |
void | SetFunction2 (MbFunction &f) |
Set the function of fillet radius for the face set. | |
MbeCopyMode | GetCopyMode () const |
Get methods of transferring data while copying shells. | |
void | SetCopyMode (MbeCopyMode m) |
Set methods of transferring data while copying shells. | |
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). | |
const c3d::FunctionSPtr & | GetDescript () const |
Get section control data. | |
MbeSideShape | GetSideShape () const |
Get the shape of cropping the sides of the surface. | |
void | SetSideShape (MbeSideShape s) |
Set the shape of cropping the sides of the surface. | |
void | SetFaceSplit (bool s) |
Set division the shell into faces by segments of guides. | |
bool | GetElongated () const |
How to cut the support shell on the boundary edge? | |
void | SetElongated (bool e) |
Set the support shell cutting on the boundary edge. | |
bool | GetProlong () const |
Get prolong along the tangent flag. | |
void | SetProlong (bool p) |
Set prolong along the tangent flag. | |
ThreeStates | GetKeepCant () const |
Get keep cant state flag. | |
void | SetKeepCant (ThreeStates ts) |
Set keep cant state flag. | |
bool | GetEquable () const |
Get non tangent joints handling flag. | |
void | SetEquable (bool e) |
Set non tangent joints handling flag. | |
double | GetBuildSag () const |
Angular deviation while moving along curves and surfaces. | |
bool | GetCheck () const |
Check the self-intersection of the constructed surface. | |
const MbSNameMaker & | GetNameMaker () const |
Get the object defining names generation in the operation. More... | |
bool | IsTwoFaceFillet () const |
Returns true if filleting exactly two disjoint faces. | |
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 MbFilletData &other, double accuracy) const |
Determine whether an object is equal? | |
bool | IsSimilar (const MbFilletData &other) const |
Determine whether the objects are similar. | |
bool | SetEqual (const MbFilletData &other) |
Make objects equal. | |
void | GetBasisItems (RPArray< MbSpaceItem > &s) const |
Get basis objects. | |
void | operator= (const MbFilletData &other) |
Assignment operator without copying topological objects. | |
Public Member Functions inherited from MbPrecision | |
MbPrecision () | |
Default constructor. | |
MbPrecision (double _precision, double _deviation) | |
Constructor by the specified precision. | |
MbPrecision (const MbPrecision &other) | |
Copy-constructor. | |
~MbPrecision () | |
Destructor. | |
void | Init (const MbPrecision &other) |
Initialization function. | |
void | Init (double _precision) |
Initialization function. | |
MbPrecision & | operator= (const MbPrecision &other) |
Assignment operator. | |
bool | IsSame (const MbPrecision &other, double accuracy) const |
Determine whether an object is equal? | |
double | GetPrecision () const |
Get precision. | |
void | SetPrecision (double a) |
Set precision. | |
Additional Inherited Members | |
Static Public Member Functions inherited from MbPrecision | |
static double | GetMaxMetricTolerance () |
Get the maximum metric tolerance. More... | |
static double | GetMaxAngleTolerance () |
Get the maximum angular tolerance. More... | |
Protected Attributes inherited from MbPrecision | |
double | precision |
The metric precision of the construction of objects. | |
double | deviation |
The angular precision of the construction of objects. | |
Data to create fillet between disjoint faces.
Data to create a smooth fillet faces between two disjoint sets of faces. Each set can consists of connected faces of one solid.
MbFilletData::MbFilletData | ( | const MbFilletBundle & | faces1, |
const MbFilletBundle & | faces2, | ||
bool | split, | ||
bool | elong, | ||
MbeSideShape | shape, | ||
bool | prol, | ||
ThreeStates | kCant, | ||
bool | equable, | ||
const MbSNameMaker & | nameMaker | ||
) |
Constructor by parameters.
Constructor by parameters to create smooth fillet faces between two disjoint sets of faces.
[in] | faces1 | - The first set of conjugeting faces. |
[in] | faces2 | - The second set of conjugeting faces. |
[in] | faceSplit | - Split the shell into faces by segments of guide curves. |
[in] | sideShape | - The form of cropping the sides of the surface. |
[in] | function1 | - The function of the fillet radius for the first set of faces (always not null). Constant function in case of fillet with constant radius. |
[in] | function2 | - The function of the fillet radius for the second set of faces (always not null). Constant function in case of fillet with constant radius. |
[in] | conic | - Coefficient of shape is changed from 0.05 to 0.95 (if 0 - circular arc). |
[in] | prolong | - Prolong along the tangent. |
[in] | keepCant | - Auto detection of boundary saving (ts_neutral), surface saving (ts_negative), boundary saving (ts_positive). |
[in] | equable | - In corners of the joint insert toroidal surface. |
[in] | nameMaker | - An object defining names generation in the operation. |
|
inline |
Get the object defining names generation in the operation.
Set an object defining names generation in the operation.