NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Facet::DecimateFacetBodyBuilder Class Reference

Represents a Facet::DecimateFacetBodyBuilder . More...

Inheritance diagram for NXOpen::Facet::DecimateFacetBodyBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

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::SelectFacetedBodyListFacetBodies ()
 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::BoundaryDefinitionBuilderListRegionList ()
 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.

Detailed Description

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.


Member Enumeration Documentation

Decimate Method.

Enumerator:
DecimateMethodTypeChordalDeviation 

Chordal deviation reduces the number of facets by removing facets which do not effect the overall accuracy of the mesh.

DecimateMethodTypeSmallestFacet 

Smallest facet removes all facets smaller than the defined area, thus removing facets deemed to be redundant by the designer.

DecimateMethodTypePercentage 

Percentage option allows the user to reduce the facet count by overall percentage.


Member Function Documentation

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

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

Returns an optional list of regions on the facet bodies to be decimated.


Created in NX7.5.0.

License requirements : None

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")

Parameters:
angleThresholdanglethreshold

Sets the decimation method
Created in NX7.5.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters:
decimateMethoddecimatemethod

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")

Parameters:
isEditCopyiseditcopy

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")

Parameters:
isLockBoundaryislockboundary

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")

Parameters:
minimumAreaminimumarea

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")

Parameters:
percentagepercentage

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")

Parameters:
tolerancetolerance

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


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.