C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

Parameters of imprinting a 2D line or a plane on a polygonal object. More...

#include <op_polymesh_parameter.h>

+ Inheritance diagram for MbPolymeshImprintParams:
+ Collaboration diagram for MbPolymeshImprintParams:

Public Member Functions

 MbPolymeshImprintParams (const MbPlacement3D &plane, double precision, VERSION ver=Math::DefaultMathVersion())
 Constructor for imprinting a plane. More...
 
 MbPolymeshImprintParams (const MbCartPoint &lineOrg, const MbVector &lineDir, double precision, VERSION ver=Math::DefaultMathVersion())
 Constructor for imprinting a line. More...
 
 MbPolymeshImprintParams (const c3d::SpacePointsVector &points, const c3d::IndicesVector &idsOnBound, double precision, VERSION ver=Math::DefaultMathVersion())
 Constructor for imprinting a point array. More...
 
 MbPolymeshImprintParams (size_t iVxGeodesicSource, const c3d::IndicesVector &idsGeodesicDestination, double precision, VERSION ver=Math::DefaultMathVersion())
 Constructor for imprinting a point array. More...
 
 ~MbPolymeshImprintParams ()
 Destructor.
 
ImprintingObject GetImprintingObject () const
 Get the imprinting object. More...
 
bool IsImprintingPlane () const
 Is imprinting a line.
 
bool IsImprintingLine2d () const
 Is imprinting a point array.
 
bool IsImprintingPointArray () const
 Is imprinting a geodesic.
 
bool IsImprintingGeodesic () const
 Get the imprinting plane.
 
const MbPlacement3D & GetImprintingPlane () const
 Get the point on the imprinting line.
 
const MbCartPoint & GetImprintingLineOrg () const
 Get the direction of the imprinting line.
 
const MbVector & GetImprintingLineDir () const
 Get the point array for imprinting.
 
const c3d::SpacePointsVector & GetImprintingPointArray () const
 Get the indices of points, that should be imprinted on boundaries.
 
const c3d::IndicesVector & GetPointsToImprintOnBoundaries () const
 Get the geodesic source vertex.
 
size_t GetGeodesicSourceVertex () const
 Get the geodesic destination vertices.
 
const c3d::IndicesVector & GetGeodesicDestinationVertices () const
 Should cut facets be triangulated.
 
bool IsTriangulationNeeded () const
 Set the flag of triangulating cut facets.
 
VERSION GetMathVersion () const
 Get the version of execution.
 
- 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.
 
MbPrecision & operator= (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

Parameters of imprinting a 2D line or a plane on a polygonal object.

Parameters of imprinting a 2D line or a plane on a polygonal object. A line, a plane or a point array can be imprinted on a polygonal object. A line is given by a 2D point and a 2D direction in the parameters domain.

Warning
Under development.

Constructor & Destructor Documentation

◆ MbPolymeshImprintParams() [1/4]

MbPolymeshImprintParams::MbPolymeshImprintParams ( const MbPlacement3D &  plane,
double  precision,
VERSION  ver = Math::DefaultMathVersion() 
)

Constructor for imprinting a plane.

Parameters
[in]plane- Plane.
[in]precision- Precision.
[in]ver- The version of execution.

◆ MbPolymeshImprintParams() [2/4]

MbPolymeshImprintParams::MbPolymeshImprintParams ( const MbCartPoint &  lineOrg,
const MbVector &  lineDir,
double  precision,
VERSION  ver = Math::DefaultMathVersion() 
)

Constructor for imprinting a line.

Parameters
[in]lineOrg- Line point.
[in]lineDir- Line direction.
[in]precision- Precision.
[in]ver- The version of execution.

◆ MbPolymeshImprintParams() [3/4]

MbPolymeshImprintParams::MbPolymeshImprintParams ( const c3d::SpacePointsVector &  points,
const c3d::IndicesVector &  idsOnBound,
double  precision,
VERSION  ver = Math::DefaultMathVersion() 
)

Constructor for imprinting a point array.

Parameters
[in]points- Unordered point array.
[in]idsOnBound- Indices of points, that should be imprinted on boundaries.
[in]precision- Precision.
[in]ver- The version of execution.

◆ MbPolymeshImprintParams() [4/4]

MbPolymeshImprintParams::MbPolymeshImprintParams ( size_t  iVxGeodesicSource,
const c3d::IndicesVector &  idsGeodesicDestination,
double  precision,
VERSION  ver = Math::DefaultMathVersion() 
)

Constructor for imprinting a point array.

Parameters
[in]iVxGeodesicSource- Geodesic source vertex.
[in]idsGeodesicDestination- Geodesic destination vertices.
[in]precision- Precision.
[in]ver- The version of execution.

Member Function Documentation

◆ GetImprintingObject()

ImprintingObject MbPolymeshImprintParams::GetImprintingObject ( ) const
inline

Get the imprinting object.

Is imprinting a plane.


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