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>

+ 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)
 Constructor. More...
 
 MbNearestSolidParams (const MbSweptData &sweptData, const MbVector3D &direction, MbSweptLayout::Direction operationDirection, const SweptValuesAndSides &valuesAndSides, const c3d::SolidsSPtrVector &solids)
 Constructor. More...
 
const MbSweptDataGetSweptData () const
 Get information about the generatrix.
 
const MbVector3DGetDirectionVector () 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 SweptValuesAndSidesGetValuesAndSides () 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.
 
MbPrecisionoperator= (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.
 

Detailed Description

Parameters of the GetNearestSolid operation to find the nearest body.

Parameters of the GetNearestSolid operation to find the nearest body.

Constructor & Destructor Documentation

◆ MbNearestSolidParams() [1/2]

MbNearestSolidParams::MbNearestSolidParams ( const MbSweptData sweptData,
const MbVector3D direction,
MbSweptLayout::Direction  operationDirection,
const c3d::SolidsSPtrVector &  solids 
)

Constructor.

Constructor for a generatrix of a general form.

Parameters
[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() [2/2]

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.

Parameters
[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.

Member Function Documentation

◆ ChangeSolid()

bool MbNearestSolidParams::ChangeSolid ( size_t  ind,
MbSolid newSolid 
)

Changing the solid by index.

Changing the solid by index.

Parameters
[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.
Returns
true if the index is valid.

The documentation for this class was generated from the following file: