API Reference > Other Classes > wrTriangulationParams Class
wrTriangulationParams Class
wrTriangulationParams
Syntax
C++
class wrTriangulationParams;

wrTriangulationParams.h

This container class holds ACIS triangulation (rendering) parameters.

Default triangulation parameters: 

 

Parameter Default 
maxNumGridLines 10000 
maxFacetEdgeLength 0 
normalTolerance 15 
surfaceTolerance 0 
gridAspectRatio 0 
PointsPerEdge 0 
BetweenKnots 2 
bRecalculateSurfaceTolerance false 
 
Name 
Description 
 
Default constructor. Sets the following default triangulation parameters:  
 
Name 
Description 
 
Distance between knots. This parameter contains the number of additional points between knots; for NURB surfaces it contains number of additional isolines between knots. 
 
Fast mode is much more faster, but generates more errors. 
 
Recalculate surface tolerance in worldDraw calling virtual 'deviation' method. 
 
Use new tesselation algo for surfaces. 
 
Grid aspect ratio. 
 
Maximum facet edge length. 
 
Maximum number of grid lines. 
 
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. 
 
Points quantity per edge. 
 
Distance tolerance for coincident faces. 
 
Name 
Description 
 
== 
Comparing operator for wrTriangulationParams class.  
Copyright © 2002–2020. Open Design Alliance. All rights reserved.