C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Results of construction an elementary solid. More...

#include <op_shell_parameter.h>

+ Inheritance diagram for MbElementarySolidResults:
+ Collaboration diagram for MbElementarySolidResults:

Public Member Functions

 MbElementarySolidResults ()
 Resulting solid.
 
 MbElementarySolidResults (const MbElementarySolidResults &other)
 Copy-constructor.
 
MbElementarySolidResultsoperator= (const MbElementarySolidResults &other)
 Assignment operator.
 
void Init (MbSolid *resultSolid)
 Initialization function.
 
const c3d::SolidSPtrGetResultSolid () const
 Get resulting solid.
 
MbSolidDetachSolid ()
 Detach resulting solid.
 
bool GetElementarySolidHotPoints (std::vector< c3d::SpacePointVector > &hotPoints) const
 Get hot points of elementary solid. More...
 
- Public Member Functions inherited from MbOperationResults
 MbOperationResults ()
 Default constructor.
 
 MbOperationResults (double tolerance)
 Constructor by the specified precision.
 
 MbOperationResults (const MbOperationResults &other)
 Copy-constructor.
 
 ~MbOperationResults ()
 Destructor.
 
void Init (const c3d::BaseHotPointAttrSPtr &hotPoint, double accuracy=METRIC_EPSILON)
 Initialization function.
 
bool IsSame (const MbOperationResults &other, double accuracy) const
 Determine whether an object is equal?
 
double GetTolerance () const
 Get tolerance of the constructed objects.
 
const c3d::BaseHotPointAttrSPtrGetHotPointAttribute () const
 Get hot-point's attribute.
 
c3d::BaseHotPointAttrSPtrSetHotPointAttribute ()
 Set hot-point's attribute.
 
MbOperationResultsoperator= (const MbOperationResults &other)
 Assignment operator.
 

Additional Inherited Members

- Protected Attributes inherited from MbOperationResults
double _tolerance
 The tolerance of the constructed objects.
 
c3d::BaseHotPointAttrSPtr _hotPoint
 Hot-point's attribute.
 

Detailed Description

Results of construction an elementary solid.

Results of construction an elementary solid.

Member Function Documentation

◆ GetElementarySolidHotPoints()

bool MbElementarySolidResults::GetElementarySolidHotPoints ( std::vector< c3d::SpacePointVector > &  hotPoints) const

Get hot points of elementary solid.

Get hot points of elementary solids: sphere, cylinder, cone, block.

Parameters
[out]hotPoints- Hot points set depending on the type of elementary solid: et_Sphere: sphere radius hot-point;
et_Cylinder: radius hot-point, height hot-point in 1st direction, height hot-point in 2nd direction;
et_Cone: bottom radius hot-point, top radius hot-point, height hot-point,angle hot-point;
et_Block: length hot-point, width hot-point, height hot-point in 1st direction, height hot-point in 2nd direction;
Returns
true if success.

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