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

This class provides functionality to subdivide the polygons to increase the density of the facet bodies. More...

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

List of all members.

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

Detailed Description

This class provides functionality to subdivide the polygons to increase the density of the facet bodies.

Subdividing Polygons creates a smoother representation.
To create a new instance of this class, use Facet::FacetedBodyCollection::CreateSubdivideFacetBodyBuilder
Default values.

Property Value

AngleThreshold

30

EdgeLength

1

InterpolationMethod

Cubic

IsEditCopy

0

IsOptimize

0

SubdivisionMethod

SubdivideIntoFour


Created in NX7.5.0.


Member Enumeration Documentation

Subdivision interpolation methods.

Enumerator:
InterpolationMethodTypeLinear 

In the linear option the sub-triangles are coplanar to the original triangle.

Shape resolution remains untouched.

InterpolationMethodTypeCubic 

In the cubic option the sub-triangles are fitted cubic to the surrounding triangles.

Shape resolution increases.

Subdivision methods.

Enumerator:
SubdivisionMethodTypeSubdivideIntoFour 

Subdivides the polygons into four sub triangles.

The original mesh structure remains.

SubdivisionMethodTypeSubdividebyEdgeLength 

Subdivides the polygons to a specified edge length.

The original mesh structure disappears.


Member Function Documentation

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

Returns the value indicating length of the edge of the polygons to be subdivided.


Created in NX7.5.0.

License requirements : None

Returns the facet bodies to be subdivided
Created in NX7.5.0.



License requirements : None

Returns the interpolation method
Created in NX7.5.0.



License requirements : None

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

Returns the value indicating whether to perform a decimation step after the subdivision.


Created in NX7.5.0.

License requirements : None

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


Created in NX7.5.0.

License requirements : None

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

Parameters:
angleThresholdanglethreshold

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

Parameters:
edgeLengthedgelength

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

Parameters:
isEditCopyiseditcopy

Sets the interpolation method
Created in NX7.5.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters:
interpolationMethodinterpolationmethod

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

Parameters:
isOptimizeisoptimize

Sets the subdivision method
Created in NX7.5.0.



License requirements : studio_free_form ("STUDIO FREE FORM")

Parameters:
subdivisionMethodsubdivisionmethod

Returns the subdivision method
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.