C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Results for a solid direct modification. More...
#include <op_direct_mod_parameter.h>
Public Member Functions | |
bool | GetFilletRadiusSetHotPoint (MbCartPoint3D &pnt, MbVector3D &dir) const |
Get normal and hot point on first face for operation of setting radius of fillet faces . More... | |
bool | GetFilletRadiusSetHotPoint (MbCartPoint3D &pointOnFilletFace, MbAxis3D &circleCenter) const |
Get normal and hot point on first face for operation of setting radius of fillet faces . More... | |
bool | GetFilletRadiusSetHotPoint (MbCartPoint3D &pointOnFilletFace, MbAxis3D &circleCenter, double &alpha) const |
Get normal, hot point and opening angle of the fillet on first face for operation of setting radius of fillet faces . More... | |
bool | GetReplaceFacesHotPoint (MbCartPoint3D &pnt, MbVector3D &dir) const |
Get hot point and its displacement direction vector for the face replacement operation. More... | |
bool | GetOffsetFacesHotPoint (MbCartPoint3D &pnt, MbVector3D &dir) const |
Get hot point and its displacement direction vector for the operation of replacement faces with the offset ones. More... | |
const c3d::IndicesVector & | GetReplacementOptionsNumbers () const |
Get a constant reference to an array of face replacement options. More... | |
c3d::IndicesVector & | SetReplacementOptionsNumbers () |
Get a reference to an array of face replacement options. More... | |
![]() | |
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. | |
Public Attributes | |
SPtr< MbSolid > | _resSolid |
The resulting body. | |
double | _maxDifUnited |
The maximum deviation of the united surfaces from the input surfaces (approximate value). | |
c3d::SurfacesSPtrVector | _surfaces |
The list of surfaces (only for dmm_ConvertFacesToNurbs). | |
Additional Inherited Members | |
![]() | |
double | _tolerance |
The tolerance of the constructed objects. | |
c3d::BaseHotPointAttrSPtr | _hotPoint |
Hot-point's attribute. | |
Results for a solid direct modification.
Results for a solid direct modification.
bool MbModifiedSolidResults::GetFilletRadiusSetHotPoint | ( | MbCartPoint3D & | pnt, |
MbVector3D & | dir | ||
) | const |
Get normal and hot point on first face for operation of setting radius of fillet faces .
[in] | pnt | - Hot point. |
[in] | dir | - Direction. |
bool MbModifiedSolidResults::GetFilletRadiusSetHotPoint | ( | MbCartPoint3D & | pointOnFilletFace, |
MbAxis3D & | circleCenter | ||
) | const |
Get normal and hot point on first face for operation of setting radius of fillet faces .
The point 'pointOnFilletFace' is located in the center of the fillet face. There us a plane that contains this point and the u(or v)=const line of the fillet face. This line is an arc on this plane. Axis circleCenter starts from the center of this arc and the direction is perpendicular to the plane. So, the distance between the axis start point and the point on the face equals fillet radius.
[out] | pointOnFilletFace | - Point on the new radius fillet face. |
[out] | circleCenter | - Axis along the fillet axis. |
bool MbModifiedSolidResults::GetFilletRadiusSetHotPoint | ( | MbCartPoint3D & | pointOnFilletFace, |
MbAxis3D & | circleCenter, | ||
double & | alpha | ||
) | const |
Get normal, hot point and opening angle of the fillet on first face for operation of setting radius of fillet faces .
The point 'pointOnFilletFace' is located in the center of the fillet face. There us a plane that contains this point and the u(or v)=const line of the fillet face. This line is an arc on this plane. Axis circleCenter starts from the center of this arc and the direction is perpendicular to the plane. So, the distance between the axis start point and the point on the face equals fillet radius. The opening angle alpha is the angle between the radii drawn in the considered plane from the center of the circular arc to its boundary points.
[out] | pointOnFilletFace | - Point on the new radius fillet face. |
[out] | circleCenter | - Axis along the fillet axis. |
[out] | alpha | - Opening angle of the fillet. |
bool MbModifiedSolidResults::GetReplaceFacesHotPoint | ( | MbCartPoint3D & | pnt, |
MbVector3D & | dir | ||
) | const |
Get hot point and its displacement direction vector for the face replacement operation.
If the operation is successful, the hot point is placed in the center of the first replacement face. If the operation fails, the hot point is located on the line connecting the center of the first replaced face and its projection onto the replacement surface, and the offset is taken relative to the projection.
[out] | pnt | - Hot point. |
[out] | dir | - Hot point displacement direction vector. |
bool MbModifiedSolidResults::GetOffsetFacesHotPoint | ( | MbCartPoint3D & | pnt, |
MbVector3D & | dir | ||
) | const |
Get hot point and its displacement direction vector for the operation of replacement faces with the offset ones.
If the operation is successful, the hot point is placed in the center of the first equidistant face. If the operation fails, the hot point is located on the normal to the center of the first replaced face, and the offset is taken relative to this center.
[out] | pnt | - Hot point. |
[out] | dir | - Hot point displacement direction vector. |
|
inline |
Get a constant reference to an array of face replacement options.
Get a constant reference to an array of face replacement options.
|
inline |
Get a reference to an array of face replacement options.
Get a reference to an array of face replacement options.