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. |
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
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
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 |
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