C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Results of construction of a shell on swept mutable section surface. More...
#include <op_shell_parameter.h>
Public Member Functions | |
MbSectionResults (const MbSectionResults &other) | |
Copy-constructor. | |
MbSectionResults & | operator= (const MbSectionResults &other) |
Assignment operator. | |
c3d::SolidSPtr | GetResultSolid () const |
Get resulting solid. | |
c3d::SolidSPtr & | SetResultSolid () |
Get resulting solid. | |
bool | GetHotPointsLayout (size_t id, MbCartPoint3D &p1, MbVector3D &v1, MbCartPoint3D &p2, MbVector3D &v2, MbCartPoint3D &p3, MbVector3D &v3, MbPlacement3D &pl, MbCartPoint3D &a) const |
Get hot points for given layout. 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 of a shell on swept mutable section surface.
Results of construction of a shell on swept mutable section surface.
bool MbSectionResults::GetHotPointsLayout | ( | size_t | id, |
MbCartPoint3D & | p1, | ||
MbVector3D & | v1, | ||
MbCartPoint3D & | p2, | ||
MbVector3D & | v2, | ||
MbCartPoint3D & | p3, | ||
MbVector3D & | v3, | ||
MbPlacement3D & | pl, | ||
MbCartPoint3D & | a | ||
) | const |
Get hot points for given layout.
[in] | id | - Hot-points layout identifier: 0 - initial cross-section of the surface, 1 - end cross-section of the surface, 2 - middle cross-section of the surface. |
[out] | p1 | - The intersection point of the first guide curve and XY plane. |
[out] | v1 | - The direction vector from the first guide point to the vertex of the enclosing triangle. |
[out] | p2 | - The intersection point of the second guide curve and XY plane. |
[out] | v2 | - The direction vector from the second guide point to the vertex of the enclosing triangle. |
[out] | p3 | - The intersection point of median from vertex the enclosing triangle and cross section curve. |
[out] | v3 | - The direction vector of median from vertex of the enclosing triangle. |
[out] | pl | - The plane of the enclosing triangle (XY) at the section with center at intersection of lines which are orthogonal to dir1 and dir2. |
[out] | a | - The intersection point of the apex curve ans XY plane is the vertex of the enclosing triangle (may be on infinity). |