C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844
MbProjectionWireFrameResults Class Reference

The results of creating a projection wireframe. More...

#include <op_wireframe_parameter.h>

+ Inheritance diagram for MbProjectionWireFrameResults:
+ Collaboration diagram for MbProjectionWireFrameResults:

Public Member Functions

 MbProjectionWireFrameResults ()
 Default constructor.
 
template<class IndicesVector >
void Init (MbWireFrame *resWireFrame, const IndicesVector &copyFrom)
 Initialize the results by the projection wireframe and the indices of faces in the input array corresponding to the obtained projection curves.
 
template<class IndicesVector >
void GetResIndices (IndicesVector &copyTo)
 Get the indices of faces in the input array corresponding to the obtained projection curves.
 
template<class SpaceCurvesVector >
void DetachCurves (SpaceCurvesVector &curves)
 Detach obtained projection curves into the specified array.
 
const c3d::WireFrameSPtr & GetResWireFrame ()
 Get the projection wireframe.
 
MbWireFrame * DetachWireFrame ()
 Detach the projection wireframe.
 
void Clear ()
 Clear the results.
 
- Public Member Functions inherited from MbOperationResults
 MbOperationResults ()
 Default constructor.
 
 MbOperationResults (double tolerance)
 Constructor by the specified precision.
 
 MbOperationResults (const MbOperationResults &other)
 Copy-constructor.
 
virtual ~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.
 

Detailed Description

The results of creating a projection wireframe.

Results of normal or vector projection of a set of curves to a solid, set of faces or a surface. Results contain obtained projection wireframe. When projecting a wireframe to a solid, the attributes of the edges contain the names of corresponding faces. When projecting to a set of faces results of the operation contain an array where the indices are the indices of the edges in a wireframe, and the values are the indices of the faces in the input array.

Warning
Under development.

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