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.
|
SelectDisplayableObjectList |
bodies()
Deprecated.
Deprecated in NX12.0.0. Use
SubdivideFacetBodyBuilder.facetCollector() instead.
|
DecimateFacetBodyBuilder.DecimateMethodType |
decimateMethod()
Returns the decimation method
License requirements: None. |
SelectFacetedBodyList |
facetBodies()
Deprecated.
Deprecated in NX11.0.0. Use
bodies() instead.
|
FacetCollector |
facetCollector()
Returns a collector of facets on the facet bodies to be decimated.
|
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()
Deprecated.
Deprecated in NX12.0.0. Use
SubdivideFacetBodyBuilder.facetCollector() instead.
|
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 |
setFacetCollector(FacetCollector collector)
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
bodies()
instead.
NXException
RemoteException
SelectDisplayableObjectList bodies() throws NXException, RemoteException
SubdivideFacetBodyBuilder.facetCollector()
instead.
NXException
RemoteException
BoundaryDefinitionBuilderList regionList() throws NXException, RemoteException
SubdivideFacetBodyBuilder.facetCollector()
instead.
NXException
RemoteException
void setFacetCollector(FacetCollector collector) throws NXException, RemoteException
collector
- NXException
RemoteException
FacetCollector facetCollector() 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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.