public interface DecimateFacetBodyBuilder extends Builder
DecimateFacetBodyBuilder
.
Decimate Body Builder is a function to facilitate the reduction of data by reducing the density of facets while keeping the general shape in tact.
Three different methods are provided to reduce the data. FacetedBodyCollection.createDecimateFacetBodyBuilder()
Property | Value |
---|---|
AngleThreshold | 15 |
DecimateMethod | ChordalDeviation |
IsEditCopy | 0 |
IsLockBoundary | 0 |
MinimumArea | 1 |
Percentage | 10 |
Tolerance | 0.25 |
Modifier and Type | Interface and Description |
---|---|
static class |
DecimateFacetBodyBuilder.DecimateMethodType
Decimate Method
|
Modifier and Type | Method and Description |
---|---|
double |
angleThreshold()
Returns the value indicating maximum angle, where any facets with a larger relative angle are not reduced.
|
DecimateFacetBodyBuilder.DecimateMethodType |
decimateMethod()
Returns the decimation method
License requirements: None. |
SelectFacetedBodyList |
facetBodies()
Returns the facet bodies to be decimated
License requirements: None. |
boolean |
isEditCopy()
Returns the value indicating if a copy of the facet body to be decimated without altering the original
License requirements: None. |
boolean |
isLockBoundary()
Returns the value indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact
License requirements: None. |
double |
minimumArea()
Returns the value indicating area of the smallest facet that is to be retained.
|
double |
percentage()
Returns the value indicating percentage by which facet count is to be reduced.
|
BoundaryDefinitionBuilderList |
regionList()
Returns an optional list of regions on the facet bodies to be decimated.
|
void |
setAngleThreshold(double angleThreshold)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setDecimateMethod(DecimateFacetBodyBuilder.DecimateMethodType decimateMethod)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setEditCopy(boolean isEditCopy)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setLockBoundary(boolean isLockBoundary)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setMinimumArea(double minimumArea)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setPercentage(double percentage)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
void |
setTolerance(double tolerance)
License requirements: studio_free_form ("STUDIO FREE FORM") . |
double |
tolerance()
Returns the value indicating maximum chordal deviation from the original facet body.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
SelectFacetedBodyList facetBodies() throws NXException, RemoteException
NXException
RemoteException
BoundaryDefinitionBuilderList regionList() throws NXException, RemoteException
NXException
RemoteException
DecimateFacetBodyBuilder.DecimateMethodType decimateMethod() throws NXException, RemoteException
NXException
RemoteException
void setDecimateMethod(DecimateFacetBodyBuilder.DecimateMethodType decimateMethod) throws NXException, RemoteException
decimateMethod
- NXException
RemoteException
double angleThreshold() throws NXException, RemoteException
NXException
RemoteException
void setAngleThreshold(double angleThreshold) throws NXException, RemoteException
angleThreshold
- NXException
RemoteException
double tolerance() throws NXException, RemoteException
DecimateFacetBodyBuilder.DecimateMethodType
is
DecimateFacetBodyBuilder.DecimateMethodType.CHORDAL_DEVIATION
.
NXException
RemoteException
void setTolerance(double tolerance) throws NXException, RemoteException
tolerance
- NXException
RemoteException
double minimumArea() throws NXException, RemoteException
DecimateFacetBodyBuilder.DecimateMethodType
is
DecimateFacetBodyBuilder.DecimateMethodType.SMALLEST_FACET
.
NXException
RemoteException
void setMinimumArea(double minimumArea) throws NXException, RemoteException
minimumArea
- NXException
RemoteException
double percentage() throws NXException, RemoteException
DecimateFacetBodyBuilder.DecimateMethodType
is
DecimateFacetBodyBuilder.DecimateMethodType.PERCENTAGE
.
NXException
RemoteException
void setPercentage(double percentage) throws NXException, RemoteException
percentage
- NXException
RemoteException
boolean isLockBoundary() throws NXException, RemoteException
NXException
RemoteException
void setLockBoundary(boolean isLockBoundary) throws NXException, RemoteException
isLockBoundary
- NXException
RemoteException
boolean isEditCopy() throws NXException, RemoteException
NXException
RemoteException
void setEditCopy(boolean isEditCopy) throws NXException, RemoteException
isEditCopy
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.