NX Open C++ Reference Guide
|
Aligns multiple facet bodies to one another without using reference points. More...
Public Types | |
enum | ResolutionType { ResolutionTypeHigh, ResolutionTypeMedium, ResolutionTypeLow } |
Determines the number of facets used in the alignment. More... | |
Public Member Functions | |
NXOpen::Facet::SelectFacetedBodyList * | AlignmentBodies () |
Returns the facet bodies to be aligned. | |
int | Iteration () |
Returns the value indicating the number of times the alignment algorithm is applied. | |
double | MaximumCheckingDistance () |
Returns the distance facets may be from one another in order to be used in the alignment. | |
NXOpen::Facet::SelectFacetedBodyList * | ReferencePatches () |
Returns an optional reference facet body with a location and orientation that will remain fixed, causing all of the other selected facet bodies to align with it. | |
NXOpen::Facet::MultiPatchAlignmentBuilder::ResolutionType | Resolution () |
Returns the type indicating number of facets to be used in the alignment. | |
void | SetIteration (int iteration) |
Sets the value indicating the number of times the alignment algorithm is applied. | |
void | SetMaximumCheckingDistance (double maximumCheckingDistance) |
Sets the distance facets may be from one another in order to be used in the alignment. | |
void | SetResolution (NXOpen::Facet::MultiPatchAlignmentBuilder::ResolutionType resolution) |
Sets the type indicating number of facets to be used in the alignment. | |
void | SetTolerance (double tolerance) |
Sets the precision of the alignment. | |
double | Tolerance () |
Returns the precision of the alignment. | |
![]() | |
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. | |
Aligns multiple facet bodies to one another without using reference points.
To create a new instance of this class, use Facet::FacetedBodyCollection::CreateMultiPatchAlignmentBuilder
Default values.
Property | Value |
---|---|
Iteration |
10 |
MaximumCheckingDistance |
10.0 (millimeters part), 0.5 (inches part) |
Resolution |
High |
Tolerance |
0.01 (millimeters part), 0.005 (inches part) |
Created in NX7.5.0.
Determines the number of facets used in the alignment.
If you are importing an .AC file with image information, this option will control how many image pixels are used in the alignment. If the imported facet data does not have image information, the number of points being used for the alignment will be controlled.
NXOpen::Facet::SelectFacetedBodyList* NXOpen::Facet::MultiPatchAlignmentBuilder::AlignmentBodies | ( | ) |
Returns the facet bodies to be aligned.
Created in NX7.5.0.
License requirements : None
int NXOpen::Facet::MultiPatchAlignmentBuilder::Iteration | ( | ) |
Returns the value indicating the number of times the alignment algorithm is applied.
Many iterations improve alignment accuracy but take longer.
Created in NX7.5.0.
License requirements : None
double NXOpen::Facet::MultiPatchAlignmentBuilder::MaximumCheckingDistance | ( | ) |
Returns the distance facets may be from one another in order to be used in the alignment.
Larger numbers slow the alignment process.
Created in NX7.5.0.
License requirements : None
NXOpen::Facet::SelectFacetedBodyList* NXOpen::Facet::MultiPatchAlignmentBuilder::ReferencePatches | ( | ) |
Returns an optional reference facet body with a location and orientation that will remain fixed, causing all of the other selected facet bodies to align with it.
If you do not select a reference body, all of the selected facet bodies will align to each other, without a fixed location.
Created in NX7.5.0.
License requirements : None
NXOpen::Facet::MultiPatchAlignmentBuilder::ResolutionType NXOpen::Facet::MultiPatchAlignmentBuilder::Resolution | ( | ) |
Returns the type indicating number of facets to be used in the alignment.
Created in NX7.5.0.
License requirements : None
void NXOpen::Facet::MultiPatchAlignmentBuilder::SetIteration | ( | int | iteration | ) |
Sets the value indicating the number of times the alignment algorithm is applied.
Many iterations improve alignment accuracy but take longer.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
iteration | iteration |
void NXOpen::Facet::MultiPatchAlignmentBuilder::SetMaximumCheckingDistance | ( | double | maximumCheckingDistance | ) |
Sets the distance facets may be from one another in order to be used in the alignment.
Larger numbers slow the alignment process.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
maximumCheckingDistance | maximumcheckingdistance |
void NXOpen::Facet::MultiPatchAlignmentBuilder::SetResolution | ( | NXOpen::Facet::MultiPatchAlignmentBuilder::ResolutionType | resolution | ) |
Sets the type indicating number of facets to be used in the alignment.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
resolution | resolution |
void NXOpen::Facet::MultiPatchAlignmentBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the precision of the alignment.
Alignment will complete when tolerance is met or the number of iterations has been reached.
Created in NX7.5.0.
License requirements : studio_free_form ("STUDIO FREE FORM")
tolerance | tolerance |
double NXOpen::Facet::MultiPatchAlignmentBuilder::Tolerance | ( | ) |
Returns the precision of the alignment.
Alignment will complete when tolerance is met or the number of iterations has been reached.
Created in NX7.5.0.
License requirements : None