C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Parameters of the GetNearestSolid operation to find the nearest body. More...
#include <op_swept_parameter.h>
Public Member Functions | |
MbNearestSolidParams (const MbSweptData &sweptData, const MbVector3D &direction, MbSweptLayout::Direction operationDirection, const c3d::SolidsSPtrVector &solids) | |
Constructor. More... | |
MbNearestSolidParams (const MbSweptData &sweptData, const MbVector3D &direction, MbSweptLayout::Direction operationDirection, const SweptValuesAndSides &valuesAndSides, const c3d::SolidsSPtrVector &solids) | |
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... | |
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. | |
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 | ||
) |
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. |
MbNearestSolidParams::MbNearestSolidParams | ( | const MbSweptData & | sweptData, |
const MbVector3D & | direction, | ||
MbSweptLayout::Direction | operationDirection, | ||
const SweptValuesAndSides & | valuesAndSides, | ||
const c3d::SolidsSPtrVector & | solids | ||
) |
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. |
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. |