|
C3D Toolkit
Kernel - 118057, Vision - 2.14.7.1821
|
Parameters of the GetNearestSolid operation to find the nearest body. More...
#include <op_swept_parameter.h>
Inheritance diagram for MbNearestSolidParams:
Collaboration diagram for MbNearestSolidParams:Public Member Functions | |
| MbNearestSolidParams (const MbSweptData &sweptData, const MbVector3D &direction, MbSweptLayout::Direction operationDirection, const c3d::SolidsSPtrVector &solids, VERSION version=Math::DefaultMathVersion()) | |
| Constructor. More... | |
| MbNearestSolidParams (const MbSweptData &sweptData, const MbVector3D &direction, MbSweptLayout::Direction operationDirection, const SweptValuesAndSides &valuesAndSides, const c3d::SolidsSPtrVector &solids, VERSION version=Math::DefaultMathVersion()) | |
| Constructor. More... | |
| const MbSweptData & | GetSweptData () const |
| Get information about the generatrix. | |
| const MbVector3D & | GetDirectionVector () const |
| Get the direction vector of the extrusion. | |
| MbSweptLayout::Direction | GetDirection () const |
| Get the direction of the extrusion (forward, reverse, or both). | |
| const c3d::SolidsSPtrVector & | GetSolids () const |
| Get a set of solids. | |
| const SweptValuesAndSides & | GetValuesAndSides () const |
| Get parameters to take into account the slope angle of the thin wall. | |
| bool | ChangeSolid (size_t ind, MbSolid *newSolid) |
| Changing the solid by index. More... | |
| VERSION | GetVersion () const |
| Version of the operation. | |
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... | |
Static Public Attributes inherited from MbPrecision | |
| static const MbPrecision | defaultPrecision |
| Default precision (METRIC_PRECISION, ANGLE_REGION);. | |
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. | |
Parameters of the GetNearestSolid operation to find the nearest body.
Parameters of the GetNearestSolid operation to find the nearest body.
| MbNearestSolidParams::MbNearestSolidParams | ( | const MbSweptData & | sweptData, |
| const MbVector3D & | direction, | ||
| MbSweptLayout::Direction | operationDirection, | ||
| const c3d::SolidsSPtrVector & | solids, | ||
| VERSION | version = Math::DefaultMathVersion() |
||
| ) |
Constructor.
Constructor for a generatrix of a general form.
| [in] | sweptData | - Generatrix. |
| [in] | direction | - Direction of extrusion. |
| [in] | operationDirection | - Direction of extrusion (forward, reverse, or both). |
| [in] | solids | - Container of bodies to find the nearest one. |
| [in] | version | - The version. |
| MbNearestSolidParams::MbNearestSolidParams | ( | const MbSweptData & | sweptData, |
| const MbVector3D & | direction, | ||
| MbSweptLayout::Direction | operationDirection, | ||
| const SweptValuesAndSides & | valuesAndSides, | ||
| const c3d::SolidsSPtrVector & | solids, | ||
| VERSION | version = Math::DefaultMathVersion() |
||
| ) |
Constructor.
Constructor for a generatrix of a general form.
| [in] | sweptData | - Generatrix. |
| [in] | direction | - Direction of extrusion. |
| [in] | operationDirection | - Direction of extrusion (forward, reverse, or both). |
| [in] | valuesAndSides | - To account for slope angle and thin wall. In developing. |
| [in] | solids | - Container of bodies to find the nearest one. |
| [in] | version | - The version. |
| bool MbNearestSolidParams::ChangeSolid | ( | size_t | ind, |
| MbSolid * | newSolid | ||
| ) |
Changing the solid by index.
Changing the solid by index.
| [in] | ind | - Solid index in solids container _solids. Corresponds to the index of the solid in the container in the constructor arguments. |
| [in] | ind | - New solid. |