SoCADInputReaderParameters::TessellationOption Struct Reference

Parameters used to tessellate the model during import. More...

#include <Inventor/io/CAD/SoCADInputReaderParameters.h>

List of all members.

Public Member Functions

 TessellationOption ()

Public Attributes

double linearTolerance
double angularTolerance
double maxTriangleEdgesRatio

Detailed Description

Parameters used to tessellate the model during import.


Constructor & Destructor Documentation

SoCADInputReaderParameters::TessellationOption::TessellationOption (  ) 

Member Data Documentation

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:

Cad_angularTolerance.png

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:

Cad_linearTolerance.png

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
Cad_ratio0.png
Cad_ratio1.png

Default: 20.0


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/