Package com.openinventor.inventor.io.cad
Class SoCADInputReaderParameters.TessellationOption
- java.lang.Object
-
- com.openinventor.inventor.io.cad.SoCADInputReaderParameters.TessellationOption
-
- Enclosing class:
- SoCADInputReaderParameters
public static class SoCADInputReaderParameters.TessellationOption extends java.lang.Object
Parameters used to tessellate the model during import.
-
-
Field Summary
Fields Modifier and Type Field Description double
angularTolerance
Set the maximum deviation angle allowed between tessellated mesh triangle and the original surface.double
linearTolerance
Set the maximum distance allowed between tessellated mesh triangle and the original surface.double
maxTriangleEdgesRatio
Set the maximum edges length ratio of generated triangles.
-
Constructor Summary
Constructors Constructor Description TessellationOption()
-
-
-
Field Detail
-
linearTolerance
public double linearTolerance
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. Default: 0.5
-
angularTolerance
public double angularTolerance
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. Default: 0.0
-
maxTriangleEdgesRatio
public double maxTriangleEdgesRatio
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. Default: 20.0 (no constraint).
-
-