NX Open C++ Reference Guide
|
Represents a Facet::DecimateFacetBodyBuilder . More...
Public Types | |
enum | DecimateMethodType { DecimateMethodTypeChordalDeviation, DecimateMethodTypeSmallestFacet, DecimateMethodTypePercentage } |
Decimate Method. More... | |
Public Member Functions | |
double | AngleThreshold () |
Returns the value indicating maximum angle, where any facets with a larger relative angle are not reduced. | |
NXOpen::Facet::DecimateFacetBodyBuilder::DecimateMethodType | DecimateMethod () |
Returns the decimation method Created in NX7.5.0. | |
NXOpen::Facet::SelectFacetedBodyList * | FacetBodies () |
Returns the facet bodies to be decimated Created in NX7.5.0. | |
bool | IsEditCopy () |
Returns the value indicating if a copy of the facet body to be decimated without altering the original Created in NX7.5.0. | |
bool | IsLockBoundary () |
Returns the value indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact Created in NX7.5.0. | |
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. | |
NXOpen::GeometricUtilities::BoundaryDefinitionBuilderList * | RegionList () |
Returns an optional list of regions on the facet bodies to be decimated. | |
void | SetAngleThreshold (double angleThreshold) |
Sets the value indicating maximum angle, where any facets with a larger relative angle are not reduced. | |
void | SetDecimateMethod (NXOpen::Facet::DecimateFacetBodyBuilder::DecimateMethodType decimateMethod) |
Sets the decimation method Created in NX7.5.0. | |
void | SetEditCopy (bool isEditCopy) |
Sets the value indicating if a copy of the facet body to be decimated without altering the original Created in NX7.5.0. | |
void | SetLockBoundary (bool isLockBoundary) |
Sets the value indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact Created in NX7.5.0. | |
void | SetMinimumArea (double minimumArea) |
Sets the value indicating area of the smallest facet that is to be retained. | |
void | SetPercentage (double percentage) |
Sets the value indicating percentage by which facet count is to be reduced. | |
void | SetTolerance (double tolerance) |
Sets the value indicating maximum chordal deviation from the original facet body. | |
double | Tolerance () |
Returns the value indicating maximum chordal deviation from the original facet body. |
Represents a Facet::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.
To create a new instance of this class, use Facet::FacetedBodyCollection::CreateDecimateFacetBodyBuilder
Default values.
Property | Value |
---|---|
AngleThreshold |
15 |
DecimateMethod |
ChordalDeviation |
IsEditCopy |
0 |
IsLockBoundary |
0 |
MinimumArea |
1 |
Percentage |
10 |
Tolerance |
0.25 |
Created in NX7.5.0.
Decimate Method.
Returns the value indicating maximum angle, where any facets with a larger relative angle are not reduced.
This allows sharp edges to be retained.
Created in NX7.5.0.
License requirements : None
NXOpen::Facet::DecimateFacetBodyBuilder::DecimateMethodType NXOpen::Facet::DecimateFacetBodyBuilder::DecimateMethod | ( | ) |
Returns the decimation method
Created in NX7.5.0.
License requirements : None
Returns the facet bodies to be decimated
Created in NX7.5.0.
License requirements : None
Returns the value indicating if a copy of the facet body to be decimated without altering the original
Created in NX7.5.0.
License requirements : None
Returns the value indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact
Created in NX7.5.0.
License requirements : None
Returns the value indicating area of the smallest facet that is to be retained.
All the facets smaller than the minimum area are removed. This value is used when Facet::DecimateFacetBodyBuilder::DecimateMethodType is Facet::DecimateFacetBodyBuilder::DecimateMethodTypeSmallestFacet .
Created in NX7.5.0.
License requirements : None
Returns the value indicating percentage by which facet count is to be reduced.
This value is used when Facet::DecimateFacetBodyBuilder::DecimateMethodType is Facet::DecimateFacetBodyBuilder::DecimateMethodTypePercentage .
Created in NX7.5.0.
License requirements : None
NXOpen::GeometricUtilities::BoundaryDefinitionBuilderList* NXOpen::Facet::DecimateFacetBodyBuilder::RegionList | ( | ) |
Returns an optional list of regions on the facet bodies to be decimated.
Created in NX7.5.0.
License requirements : None
void NXOpen::Facet::DecimateFacetBodyBuilder::SetAngleThreshold | ( | double | angleThreshold | ) |
Sets the value indicating maximum angle, where any facets with a larger relative angle are not reduced.
This allows sharp edges to be retained.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
angleThreshold | anglethreshold |
void NXOpen::Facet::DecimateFacetBodyBuilder::SetDecimateMethod | ( | NXOpen::Facet::DecimateFacetBodyBuilder::DecimateMethodType | decimateMethod | ) |
Sets the decimation method
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
decimateMethod | decimatemethod |
void NXOpen::Facet::DecimateFacetBodyBuilder::SetEditCopy | ( | bool | isEditCopy | ) |
Sets the value indicating if a copy of the facet body to be decimated without altering the original
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
isEditCopy | iseditcopy |
void NXOpen::Facet::DecimateFacetBodyBuilder::SetLockBoundary | ( | bool | isLockBoundary | ) |
Sets the value indicating if the open edges of inner and outer loops in the facet bodies are to be kept intact
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
isLockBoundary | islockboundary |
void NXOpen::Facet::DecimateFacetBodyBuilder::SetMinimumArea | ( | double | minimumArea | ) |
Sets the value indicating area of the smallest facet that is to be retained.
All the facets smaller than the minimum area are removed. This value is used when Facet::DecimateFacetBodyBuilder::DecimateMethodType is Facet::DecimateFacetBodyBuilder::DecimateMethodTypeSmallestFacet .
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
minimumArea | minimumarea |
void NXOpen::Facet::DecimateFacetBodyBuilder::SetPercentage | ( | double | percentage | ) |
Sets the value indicating percentage by which facet count is to be reduced.
This value is used when Facet::DecimateFacetBodyBuilder::DecimateMethodType is Facet::DecimateFacetBodyBuilder::DecimateMethodTypePercentage .
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
percentage | percentage |
void NXOpen::Facet::DecimateFacetBodyBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the value indicating maximum chordal deviation from the original facet body.
The value is used when Facet::DecimateFacetBodyBuilder::DecimateMethodType is Facet::DecimateFacetBodyBuilder::DecimateMethodTypeChordalDeviation .
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
tolerance | tolerance |
Returns the value indicating maximum chordal deviation from the original facet body.
The value is used when Facet::DecimateFacetBodyBuilder::DecimateMethodType is Facet::DecimateFacetBodyBuilder::DecimateMethodTypeChordalDeviation .
Created in NX7.5.0.
License requirements : None