public class FacetingParameters extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
double |
curveAngularTolerance
This is the maximum angular variation
in radians of the curve tangent along
the curve segment represented by the
facet edge.
|
double |
curveDistanceTolerance
This is the maximum distance between
the facet edge and the curve segment
represented by the facet edge.
|
double |
curveMaximumLength
The maximum length of a curve, default is 1000.0
|
int |
maximumFacetEdges
The maximum number of edges allowed
in the facets that are to be generated
(this does not apply to JT).
|
double |
maximumFacetSize
This is the maximum width of a facet.
|
int |
numberStorageType
This indicates whether the real
numbers for facet vertices and facet
normals should be stored as floats
(UF_FACET_TYPE_FLOAT) or as doubles
(UF_FACET_TYPE_DOUBLE).
|
double |
silhouetteChordTolerance
If specifyViewDirection is specified
then this is the tolerance which will be
used as a tighter surface tolerance
in the silhouette area specified
by the view direction (this does not apply to JT).
|
Vector3d |
silhouetteViewDirection
If specifyViewDirection is specified,
then this is the view direction to use
(this does not apply to JT).
|
boolean |
specifyConvexFacets
This indicates that the facets
generated by the faceter should all be
convex (this does not apply to JT).
|
boolean |
specifyCurveTolerance
This indicates that values are to be
specified for curveDistanceTolerance
and curveAngularTolerance and
curve_max_length.
|
boolean |
specifyMaximumFacetSize
This indicates that a maximum width of
facet is to be specified using
maximumFacetSize.
|
boolean |
specifyParameters
This indicates that the model will be
created with the parametric information
for each vertex.
|
boolean |
specifySurfaceTolerance
If this value is true, then
values must be specified for
surfaceDistanceTolerance
and surfaceAngularTolerance.
|
boolean |
specifyViewDirection
Should we use a viewing direction
for denser faceting around
silhouettes.
|
boolean |
storeFaceTag
Should this FACET body record face tags or not
(this does not apply to JT).
|
double |
surfaceAngularTolerance
This is the maximum angular variation
in radians of the surface normal
over the facet.
|
double |
surfaceDistanceTolerance
This is the maximum distance from
the surface to the facet.
|
boolean |
withLODS
When creating a JT facet body whether to create LODs or not
(this does not apply to NX).
|
Constructor and Description |
---|
FacetingParameters() |
FacetingParameters(int maximumFacetEdgesInitial,
boolean specifySurfaceToleranceInitial,
double surfaceDistanceToleranceInitial,
double surfaceAngularToleranceInitial,
boolean specifyCurveToleranceInitial,
double curveDistanceToleranceInitial,
double curveAngularToleranceInitial,
double curveMaximumLengthInitial,
boolean specifyConvexFacetsInitial,
boolean specifyMaximumFacetSizeInitial,
double maximumFacetSizeInitial,
boolean specifyParametersInitial,
int numberStorageTypeInitial,
boolean specifyViewDirectionInitial,
Vector3d silhouetteViewDirectionInitial,
double silhouetteChordToleranceInitial,
boolean storeFaceTagInitial,
boolean withLODSInitial)
Constructor for the FacetingParameters object.
|
public int maximumFacetEdges
public boolean specifySurfaceTolerance
public double surfaceDistanceTolerance
public double surfaceAngularTolerance
public boolean specifyCurveTolerance
public double curveDistanceTolerance
public double curveAngularTolerance
public double curveMaximumLength
public boolean specifyConvexFacets
public boolean specifyMaximumFacetSize
public double maximumFacetSize
public boolean specifyParameters
public int numberStorageType
public boolean specifyViewDirection
public Vector3d silhouetteViewDirection
public double silhouetteChordTolerance
public boolean storeFaceTag
public boolean withLODS
public FacetingParameters()
public FacetingParameters(int maximumFacetEdgesInitial, boolean specifySurfaceToleranceInitial, double surfaceDistanceToleranceInitial, double surfaceAngularToleranceInitial, boolean specifyCurveToleranceInitial, double curveDistanceToleranceInitial, double curveAngularToleranceInitial, double curveMaximumLengthInitial, boolean specifyConvexFacetsInitial, boolean specifyMaximumFacetSizeInitial, double maximumFacetSizeInitial, boolean specifyParametersInitial, int numberStorageTypeInitial, boolean specifyViewDirectionInitial, Vector3d silhouetteViewDirectionInitial, double silhouetteChordToleranceInitial, boolean storeFaceTagInitial, boolean withLODSInitial)
maximumFacetEdgesInitial
- The maximum number of edges allowed
in the facets that are to be generated
(this does not apply to JT).specifySurfaceToleranceInitial
- If this value is true, then
values must be specified for
surfaceDistanceTolerance
and surfaceAngularTolerance. If
this value is false then values for
surfaceDistanceTolerance and
surfaceAngularTolerance will be
determined by the system based on the
body box or face box of the solid entity
being faceted.surfaceDistanceToleranceInitial
- This is the maximum distance from
the surface to the facet.surfaceAngularToleranceInitial
- This is the maximum angular variation
in radians of the surface normal
over the facet. A value of zero
indicates no constraint.specifyCurveToleranceInitial
- This indicates that values are to be
specified for curveDistanceTolerance
and curveAngularTolerance and
curve_max_length. If this value is false
then values for curveDistanceTolerance
and curveAngularTolerance will be
determined by the system based on the
body box or face box of the solid
entity being faceted, and no restriction
will be placed on the maximum length
of curve that can be represented
by a single facet edge.curveDistanceToleranceInitial
- This is the maximum distance between
the facet edge and the curve segment
represented by the facet edge. This
applies only to those facet edges lying
along solid edges.curveAngularToleranceInitial
- This is the maximum angular variation
in radians of the curve tangent along
the curve segment represented by the
facet edge. This applies only to those
facet edges lying along solid edges.
A value of zero indicates no constraint.curveMaximumLengthInitial
- The maximum length of a curve, default is 1000.0specifyConvexFacetsInitial
- This indicates that the facets
generated by the faceter should all be
convex (this does not apply to JT).specifyMaximumFacetSizeInitial
- This indicates that a maximum width of
facet is to be specified using
maximumFacetSize. If this field is false
then no maximum facet size is imposed.maximumFacetSizeInitial
- This is the maximum width of a facet.
This is only used if
specifyMaximumFacetSize is true.specifyParametersInitial
- This indicates that the model will be
created with the parametric information
for each vertex. Should parameters at
the vertices be obtained for the facets
of the model (this does not apply to JT).numberStorageTypeInitial
- This indicates whether the real
numbers for facet vertices and facet
normals should be stored as floats
(UF_FACET_TYPE_FLOAT) or as doubles
(UF_FACET_TYPE_DOUBLE). Note that this
option applies only when a faceted model
is being created, and is ignored when the
model is updated. This option is not applicable
to JT creation or update.specifyViewDirectionInitial
- Should we use a viewing direction
for denser faceting around
silhouettes. The denser faceting will
honor the tolerance specified by
silhouetteChordTolerance in the silhouette
with respect to the view direction
specified by silhouetteViewDirection vector.
If this is false, there is no special
consideration for any silhouette area
(this does not apply to JT).silhouetteViewDirectionInitial
- If specifyViewDirection is specified,
then this is the view direction to use
(this does not apply to JT).silhouetteChordToleranceInitial
- If specifyViewDirection is specified
then this is the tolerance which will be
used as a tighter surface tolerance
in the silhouette area specified
by the view direction (this does not apply to JT).storeFaceTagInitial
- Should this FACET body record face tags or not
(this does not apply to JT).withLODSInitial
- When creating a JT facet body whether to create LODs or not
(this does not apply to NX).Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.