C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Results of construction an elementary solid. More...
#include <op_shell_parameter.h>
Public Member Functions | |
MbElementarySolidResults () | |
Resulting solid. | |
MbElementarySolidResults (const MbElementarySolidResults &other) | |
Copy-constructor. | |
MbElementarySolidResults & | operator= (const MbElementarySolidResults &other) |
Assignment operator. | |
void | Init (MbSolid *resultSolid) |
Initialization function. | |
const c3d::SolidSPtr & | GetResultSolid () const |
Get resulting solid. | |
MbSolid * | DetachSolid () |
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::BaseHotPointAttrSPtr & | GetHotPointAttribute () const |
Get hot-point's attribute. | |
c3d::BaseHotPointAttrSPtr & | SetHotPointAttribute () |
Set hot-point's attribute. | |
MbOperationResults & | operator= (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. | |
Results of construction an elementary solid.
Results of construction an elementary solid.
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.
[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; |