Parameters used to tessellate the model during import. More...
#include <Inventor/io/CAD/SoCADInputReaderParameters.h>
Public Member Functions | |
TessellationOption () | |
Public Attributes | |
double | linearTolerance |
double | angularTolerance |
double | maxTriangleEdgesRatio |
Parameters used to tessellate the model during import.
SoCADInputReaderParameters::TessellationOption::TessellationOption | ( | ) |
Set the maximum deviation angle allowed between tessellated mesh triangle and the original surface.
This maximum angle is a angular measure in radian. A value of 0.0 means it is deactivated. Smaller value means more precise tessellation and thus more memory consumption.
Example:
Default: 0.17444 radian (10°)
Set the maximum distance allowed between tessellated mesh triangle and the original surface.
This maximum distance is a linear distance (chordal error). A value of 0.0 means it is deactivated. Smaller value means more precise tessellation and thus more memory consumption.
Example:
Default: 0.0 (deactivated)
Set the maximum edges length ratio of generated triangles.
Best quality is achieved with a value of 1.0. A value smaller than 1.0 is clamp to 1.0. Smaller value means more precise tessellation and thus more memory consumption.
Example:
maxTriangleEdgesRatio = 1000.0 | maxTriangleEdgesRatio = 1.0 |
| |
Default: 20.0