NX Open C++ Reference Guide
|
This class provides functionality to subdivide the polygons to increase the density of the facet bodies. More...
Public Types | |
enum | InterpolationMethodType { InterpolationMethodTypeLinear, InterpolationMethodTypeCubic } |
Subdivision interpolation methods. More... | |
enum | SubdivisionMethodType { SubdivisionMethodTypeSubdivideIntoFour, SubdivisionMethodTypeSubdividebyEdgeLength } |
Subdivision methods. More... | |
Public Member Functions | |
double | AngleThreshold () |
Returns the angular tolerance to detect sharp edges to be kept. | |
double | EdgeLength () |
Returns the value indicating length of the edge of the polygons to be subdivided. | |
NXOpen::Facet::SelectFacetedBodyList * | FacetBodies () |
Returns the facet bodies to be subdivided Created in NX7.5.0. | |
NXOpen::Facet::SubdivideFacetBodyBuilder::InterpolationMethodType | InterpolationMethod () |
Returns the interpolation method Created in NX7.5.0. | |
bool | IsEditCopy () |
Returns the value indicating if a copy of the facet body to be subdivided without altering the original. | |
bool | IsOptimize () |
Returns the value indicating whether to perform a decimation step after the subdivision. | |
NXOpen::GeometricUtilities::BoundaryDefinitionBuilderList * | RegionList () |
Returns an optional list of regions on the facet bodies to be subdivided. | |
void | SetAngleThreshold (double angleThreshold) |
Sets the angular tolerance to detect sharp edges to be kept. | |
void | SetEdgeLength (double edgeLength) |
Sets the value indicating length of the edge of the polygons to be subdivided. | |
void | SetEditCopy (bool isEditCopy) |
Sets the value indicating if a copy of the facet body to be subdivided without altering the original. | |
void | SetInterpolationMethod (NXOpen::Facet::SubdivideFacetBodyBuilder::InterpolationMethodType interpolationMethod) |
Sets the interpolation method Created in NX7.5.0. | |
void | SetOptimize (bool isOptimize) |
Sets the value indicating whether to perform a decimation step after the subdivision. | |
void | SetSubdivisionMethod (NXOpen::Facet::SubdivideFacetBodyBuilder::SubdivisionMethodType subdivisionMethod) |
Sets the subdivision method Created in NX7.5.0. | |
NXOpen::Facet::SubdivideFacetBodyBuilder::SubdivisionMethodType | SubdivisionMethod () |
Returns the subdivision method Created in NX7.5.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
This class provides functionality to subdivide the polygons to increase the density of the facet bodies.
Subdividing Polygons creates a smoother representation. <br> To create a new instance of this class, use @link Facet::FacetedBodyCollection::CreateSubdivideFacetBodyBuilder Facet::FacetedBodyCollection::CreateSubdivideFacetBodyBuilder @endlink <br>
Default values.
Property | Value |
---|---|
AngleThreshold |
30 |
EdgeLength |
1 |
InterpolationMethod |
Cubic |
IsEditCopy |
0 |
IsOptimize |
0 |
SubdivisionMethod |
SubdivideIntoFour |
Created in NX7.5.0.
Subdivision interpolation methods.
double NXOpen::Facet::SubdivideFacetBodyBuilder::AngleThreshold | ( | ) |
Returns the angular tolerance to detect sharp edges to be kept.
Cubic interpolation can not interpolate over an edge of two triangles whose normals differ more than the specified value. Same applies to re-meshing.
Created in NX7.5.0.
License requirements : None
double NXOpen::Facet::SubdivideFacetBodyBuilder::EdgeLength | ( | ) |
Returns the value indicating length of the edge of the polygons to be subdivided.
Created in NX7.5.0.
License requirements : None
NXOpen::Facet::SelectFacetedBodyList* NXOpen::Facet::SubdivideFacetBodyBuilder::FacetBodies | ( | ) |
Returns the facet bodies to be subdivided
Created in NX7.5.0.
License requirements : None
NXOpen::Facet::SubdivideFacetBodyBuilder::InterpolationMethodType NXOpen::Facet::SubdivideFacetBodyBuilder::InterpolationMethod | ( | ) |
Returns the interpolation method
Created in NX7.5.0.
License requirements : None
bool NXOpen::Facet::SubdivideFacetBodyBuilder::IsEditCopy | ( | ) |
Returns the value indicating if a copy of the facet body to be subdivided without altering the original.
Created in NX7.5.0.
License requirements : None
bool NXOpen::Facet::SubdivideFacetBodyBuilder::IsOptimize | ( | ) |
Returns the value indicating whether to perform a decimation step after the subdivision.
Created in NX7.5.0.
License requirements : None
NXOpen::GeometricUtilities::BoundaryDefinitionBuilderList* NXOpen::Facet::SubdivideFacetBodyBuilder::RegionList | ( | ) |
Returns an optional list of regions on the facet bodies to be subdivided.
Created in NX7.5.0.
License requirements : None
void NXOpen::Facet::SubdivideFacetBodyBuilder::SetAngleThreshold | ( | double | angleThreshold | ) |
Sets the angular tolerance to detect sharp edges to be kept.
Cubic interpolation can not interpolate over an edge of two triangles whose normals differ more than the specified value. Same applies to re-meshing.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
angleThreshold | anglethreshold |
void NXOpen::Facet::SubdivideFacetBodyBuilder::SetEdgeLength | ( | double | edgeLength | ) |
Sets the value indicating length of the edge of the polygons to be subdivided.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
edgeLength | edgelength |
void NXOpen::Facet::SubdivideFacetBodyBuilder::SetEditCopy | ( | bool | isEditCopy | ) |
Sets the value indicating if a copy of the facet body to be subdivided without altering the original.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
isEditCopy | iseditcopy |
void NXOpen::Facet::SubdivideFacetBodyBuilder::SetInterpolationMethod | ( | NXOpen::Facet::SubdivideFacetBodyBuilder::InterpolationMethodType | interpolationMethod | ) |
Sets the interpolation method
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
interpolationMethod | interpolationmethod |
void NXOpen::Facet::SubdivideFacetBodyBuilder::SetOptimize | ( | bool | isOptimize | ) |
Sets the value indicating whether to perform a decimation step after the subdivision.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
isOptimize | isoptimize |
void NXOpen::Facet::SubdivideFacetBodyBuilder::SetSubdivisionMethod | ( | NXOpen::Facet::SubdivideFacetBodyBuilder::SubdivisionMethodType | subdivisionMethod | ) |
Sets the subdivision method
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
subdivisionMethod | subdivisionmethod |
NXOpen::Facet::SubdivideFacetBodyBuilder::SubdivisionMethodType NXOpen::Facet::SubdivideFacetBodyBuilder::SubdivisionMethod | ( | ) |
Returns the subdivision method
Created in NX7.5.0.
License requirements : None