C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Results for a solid direct modification. More...

#include <op_direct_mod_parameter.h>

+ Inheritance diagram for MbModifiedSolidResults:
+ Collaboration diagram for MbModifiedSolidResults:

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::IndicesVectorGetReplacementOptionsNumbers () const
 Get a constant reference to an array of face replacement options. More...
 
c3d::IndicesVectorSetReplacementOptionsNumbers ()
 Get a reference to an array of face replacement options. 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.
 

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

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

Detailed Description

Results for a solid direct modification.

Results for a solid direct modification.

Member Function Documentation

◆ GetFilletRadiusSetHotPoint() [1/3]

bool MbModifiedSolidResults::GetFilletRadiusSetHotPoint ( MbCartPoint3D pnt,
MbVector3D dir 
) const

Get normal and hot point on first face for operation of setting radius of fillet faces .

Parameters
[in]pnt- Hot point.
[in]dir- Direction.
Deprecated:
The method is deprecated.
Returns
Returns "true" in case of success.

◆ GetFilletRadiusSetHotPoint() [2/3]

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.

Parameters
[out]pointOnFilletFace- Point on the new radius fillet face.
[out]circleCenter- Axis along the fillet axis.
Returns
Returns "true" if the hot-point is calculated.

◆ GetFilletRadiusSetHotPoint() [3/3]

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.

Parameters
[out]pointOnFilletFace- Point on the new radius fillet face.
[out]circleCenter- Axis along the fillet axis.
[out]alpha- Opening angle of the fillet.
Returns
Returns "true" if the hot-point is calculated.

◆ GetReplaceFacesHotPoint()

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.

Parameters
[out]pnt- Hot point.
[out]dir- Hot point displacement direction vector.
Returns
Returns "true" if the hot-point is calculated.

◆ GetOffsetFacesHotPoint()

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.

Parameters
[out]pnt- Hot point.
[out]dir- Hot point displacement direction vector.
Returns
Returns "true" if the hot-point is calculated.

◆ GetReplacementOptionsNumbers()

const c3d::IndicesVector& MbModifiedSolidResults::GetReplacementOptionsNumbers ( ) const
inline

Get a constant reference to an array of face replacement options.

Get a constant reference to an array of face replacement options.

Returns
Returns a constant reference.

◆ SetReplacementOptionsNumbers()

c3d::IndicesVector& MbModifiedSolidResults::SetReplacementOptionsNumbers ( )
inline

Get a reference to an array of face replacement options.

Get a reference to an array of face replacement options.

Returns
Returns a reference.

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