CFx SDK Documentation  2022 SP0
Public Member Functions | Public Attributes | List of all members
wrTriangulationParams Class Reference

#include <wrTriangulationParams.h>

Public Member Functions

 wrTriangulationParams ()
 
bool operator== (const wrTriangulationParams other) const
 

Public Attributes

OdUInt32 maxNumGridLines
 
double maxFacetEdgeLength
 
double normalTolerance
 
double surfaceTolerance
 
double gridAspectRatio
 
OdUInt16 BetweenKnots
 
OdUInt32 PointsPerEdge
 
bool bUseFacetRES
 
bool bFastMode
 
bool bUseTesselation
 

Detailed Description

This container class holds ACIS triangulation (rendering) parameters. <group Other_Classes>

Remarks
Default triangulation parameters:

Default maxNumGridLines 10000
maxFacetEdgeLength 0
normalTolerance 15
surfaceTolerance 0
gridAspectRatio 0
PointsPerEdge 0
BetweenKnots 2
bUseFacetRES false


Definition at line 49 of file wrTriangulationParams.h.

Constructor & Destructor Documentation

◆ wrTriangulationParams()

wrTriangulationParams::wrTriangulationParams ( )
inline

Default constructor. Sets the following default triangulation parameters:

Default maxNumGridLines 10000
maxFacetEdgeLength 0
normalTolerance 15
surfaceTolerance 0
gridAspectRatio 0
PointsPerEdge 0
BetweenKnots 2
bUseFacetRES false

Definition at line 117 of file wrTriangulationParams.h.

Member Function Documentation

◆ operator==()

bool wrTriangulationParams::operator== ( const wrTriangulationParams  other) const
inline

Comparing operator for wrTriangulationParams class.

Parameters
other[in] A wrTriangulationParams object to be compared with. Note that bUseFacetRES property is NOT compared.

Definition at line 136 of file wrTriangulationParams.h.

Member Data Documentation

◆ BetweenKnots

OdUInt16 wrTriangulationParams::BetweenKnots

Distance between knots. This parameter contains the number of additional points between knots; for NURB surfaces it contains number of additional isolines between knots.

Definition at line 81 of file wrTriangulationParams.h.

◆ bFastMode

bool wrTriangulationParams::bFastMode

Fast mode is much more faster, but generates more errors.

Definition at line 96 of file wrTriangulationParams.h.

◆ bUseFacetRES

bool wrTriangulationParams::bUseFacetRES

Use Facetres System variable.

Definition at line 91 of file wrTriangulationParams.h.

◆ bUseTesselation

bool wrTriangulationParams::bUseTesselation

Use new tesselation algo for nurbs surfaces (not in a production state yet).

Definition at line 101 of file wrTriangulationParams.h.

◆ gridAspectRatio

double wrTriangulationParams::gridAspectRatio

Grid aspect ratio.

Definition at line 76 of file wrTriangulationParams.h.

◆ maxFacetEdgeLength

double wrTriangulationParams::maxFacetEdgeLength

Maximum facet edge length.

Definition at line 59 of file wrTriangulationParams.h.

◆ maxNumGridLines

OdUInt32 wrTriangulationParams::maxNumGridLines

Maximum number of grid lines.

Definition at line 54 of file wrTriangulationParams.h.

◆ normalTolerance

double wrTriangulationParams::normalTolerance

NormalTolerance allows to specify the tessellation quality of circular surfaces (such as Cone, Torus, Sphere or Cylinder). It is measured in degrees. The value of this parameter determines the quantity of mesh cells (triangles) used to represent a circular surface (360/NormalTolerance). Default value is 15. It means, for an example, that surface will be tessellated with 24 mesh cells (triangles) in circular direction.

Definition at line 66 of file wrTriangulationParams.h.

◆ PointsPerEdge

OdUInt32 wrTriangulationParams::PointsPerEdge

Points quantity per edge.

Definition at line 86 of file wrTriangulationParams.h.

◆ surfaceTolerance

double wrTriangulationParams::surfaceTolerance

Distance tolerance for coincident faces.

Definition at line 71 of file wrTriangulationParams.h.


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