CFx SDK Documentation
2023 SP0
|
#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 |
This container class holds ACIS triangulation (rendering) parameters. <group Other_Classes>
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.
|
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.
|
inline |
Comparing operator for wrTriangulationParams class.
other | [in] A wrTriangulationParams object to be compared with. Note that bUseFacetRES property is NOT compared. |
Definition at line 136 of file wrTriangulationParams.h.
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.
bool wrTriangulationParams::bFastMode |
Fast mode is much more faster, but generates more errors.
Definition at line 96 of file wrTriangulationParams.h.
bool wrTriangulationParams::bUseFacetRES |
Use Facetres System variable.
Definition at line 91 of file wrTriangulationParams.h.
bool wrTriangulationParams::bUseTesselation |
Use new tesselation algo for nurbs surfaces (not in a production state yet).
Definition at line 101 of file wrTriangulationParams.h.
double wrTriangulationParams::gridAspectRatio |
Grid aspect ratio.
Definition at line 76 of file wrTriangulationParams.h.
double wrTriangulationParams::maxFacetEdgeLength |
Maximum facet edge length.
Definition at line 59 of file wrTriangulationParams.h.
OdUInt32 wrTriangulationParams::maxNumGridLines |
Maximum number of grid lines.
Definition at line 54 of file wrTriangulationParams.h.
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.
OdUInt32 wrTriangulationParams::PointsPerEdge |
Points quantity per edge.
Definition at line 86 of file wrTriangulationParams.h.
double wrTriangulationParams::surfaceTolerance |
Distance tolerance for coincident faces.
Definition at line 71 of file wrTriangulationParams.h.