C3D Toolkit  Kernel - 118057, Vision - 2.14.7.1821
MbProjectionWireFrameParams Class Reference

The parameters for creating a projection of a wireframe to a solid, set of faces or a surface. More...

#include <op_wireframe_parameter.h>

+ Inheritance diagram for MbProjectionWireFrameParams:
+ Collaboration diagram for MbProjectionWireFrameParams:

Public Member Functions

 MbProjectionWireFrameParams (c3d::ConstRefWrap< MbSurface > surface, c3d::ConstRefWrap< MbCurve3D > curve, const MbVector3D *direction, const bool createExact, const bool truncateByBounds, const VERSION version=Math::DefaultMathVersion())
 Constructor by parameters. More...
 
 MbProjectionWireFrameParams (c3d::ConstRefWrap< MbCurve3D > curve, c3d::ConstRefWrap< c3d::ConstFacesVector > faces, const MbVector3D *direction, const bool projOnParallel, const bool createExact, const bool truncateByBounds, const MbSNameMaker &snMaker)
 Constructor by parameters. More...
 
 MbProjectionWireFrameParams (c3d::ConstRefWrap< MbWireFrame > wireFrame, const bool sameWireFrame, c3d::ConstRefWrap< MbSolid > solid, const bool sameCreators, const c3d::IndicesVector &faceIndices, const MbVector3D *direction, const bool projOnParallel, const bool createExact, const bool truncateByBounds, const MbSNameMaker &snMaker)
 Constructor by parameters. More...
 
 ~MbProjectionWireFrameParams ()
 Destructor.
 
const MbVector3DGetDirection () const
 Get the direction of the vector projection (nullptr if not provided).
 
bool GetProjectOnParallel () const
 Whether the projection should be performed onto surfaces parallel to a provided direction of the vector projection.
 
bool GetCreateExact () const
 Whether to create a projection curve if necessary.
 
bool GetTruncateByBounds () const
 Whether to truncate by bounds.
 
const MbSNameMakerGetNameMaker () const
 Get an object defining the names.
 
const MbProjWireFrameParamsData * GetParametersData () const
 For internal use.
 
- Public Member Functions inherited from MbPrecision
 MbPrecision ()
 Default constructor.
 
 MbPrecision (double _precision, double _deviation)
 Constructor by the specified precision.
 
 MbPrecision (const MbPrecision &other)
 Copy-constructor.
 
 ~MbPrecision ()
 Destructor.
 
void Init (const MbPrecision &other)
 Initialization function.
 
void Init (double _precision)
 Initialization function.
 
MbPrecisionoperator= (const MbPrecision &other)
 Assignment operator.
 
bool IsSame (const MbPrecision &other, double accuracy) const
 Determine whether an object is equal?
 
double GetPrecision () const
 Get precision.
 
void SetPrecision (double a)
 Set precision.
 

Additional Inherited Members

- Static Public Member Functions inherited from MbPrecision
static double GetMaxMetricTolerance ()
 Get the maximum metric tolerance. More...
 
static double GetMaxAngleTolerance ()
 Get the maximum angular tolerance. More...
 
- Static Public Attributes inherited from MbPrecision
static const MbPrecision defaultPrecision
 Default precision (METRIC_PRECISION, ANGLE_REGION);.
 
- Protected Attributes inherited from MbPrecision
double precision
 The metric precision of the construction of objects.
 
double deviation
 The angular precision of the construction of objects.
 

Detailed Description

The parameters for creating a projection of a wireframe to a solid, set of faces or a surface.

Contains parameters required for normal or vector projection of a set of curves to a solid, set of faces or a surface.

Warning
Under development.

Constructor & Destructor Documentation

◆ MbProjectionWireFrameParams() [1/3]

MbProjectionWireFrameParams::MbProjectionWireFrameParams ( c3d::ConstRefWrap< MbSurface surface,
c3d::ConstRefWrap< MbCurve3D curve,
const MbVector3D direction,
const bool  createExact,
const bool  truncateByBounds,
const VERSION  version = Math::DefaultMathVersion() 
)

Constructor by parameters.

In this constructor, data is specified for projecting a curve onto a surface.

Parameters
[in]surface- A surface to project the specified curve onto.
[in]curve- A curve to project onto the specified surface.
[in]direction- The direction of the vector projection (if not provided, normal projection is performed).
[in]createExact- Create a projection curve if necessary.
[in]truncateByBounds- Truncate by the surface bounds.
[in]version- The version.

◆ MbProjectionWireFrameParams() [2/3]

MbProjectionWireFrameParams::MbProjectionWireFrameParams ( c3d::ConstRefWrap< MbCurve3D curve,
c3d::ConstRefWrap< c3d::ConstFacesVector >  faces,
const MbVector3D direction,
const bool  projOnParallel,
const bool  createExact,
const bool  truncateByBounds,
const MbSNameMaker snMaker 
)

Constructor by parameters.

In this constructor, data is specified for projecting a curve to a set of faces.

Parameters
[in]curve- A curve to project to a specified set of faces.
[in]faces- A connected set of faces to project the specified curve to.
[in]direction- The direction of the vector projection (if not provided, normal projection is performed).
[in]projOnParallel- Should the projection be performed onto surfaces parallel to a provided direction of the vector projection.
[in]createExact- Create a projection curve if necessary.
[in]truncateByBounds- Truncate by bounds.
[in]snMaker- An object defining the names with the version.

◆ MbProjectionWireFrameParams() [3/3]

MbProjectionWireFrameParams::MbProjectionWireFrameParams ( c3d::ConstRefWrap< MbWireFrame wireFrame,
const bool  sameWireFrame,
c3d::ConstRefWrap< MbSolid solid,
const bool  sameCreators,
const c3d::IndicesVector faceIndices,
const MbVector3D direction,
const bool  projOnParallel,
const bool  createExact,
const bool  truncateByBounds,
const MbSNameMaker snMaker 
)

Constructor by parameters.

In this constructor, data is specified for projecting a wireframe to a solid.

Parameters
[in]wireFrame- A wireframe to project to a specified solid.
[in]sameWireFrame- Use the same wireframe or copy it.
[in]solid- A solid to project the specified wireframe to.
[in]sameCreators- Use the same creators of the solid or make a copy.
[in]faceIndices- Indices of faces in the solid's shell.
[in]direction- The direction of the vector projection (if not provided, normal projection is performed).
[in]projOnParallel- Should the projection be performed onto surfaces parallel to a provided direction of the vector projection.
[in]createExact- Create a projection curve if necessary.
[in]truncateByBounds- Truncate by bounds.
[in]snMaker- An object defining the names with the version.

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