NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Facet::MultiPatchAlignmentBuilder Class Reference

Aligns multiple facet bodies to one another without using reference points. More...

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

Public Types

enum  ResolutionType { ResolutionTypeHigh, ResolutionTypeMedium, ResolutionTypeLow }
 Determines the number of facets used in the alignment. More...
 

Public Member Functions

NXOpen::Facet::SelectFacetedBodyListAlignmentBodies ()
 Returns the facet bodies to be aligned. More...
 
int Iteration ()
 Returns the value indicating the number of times the alignment algorithm is applied. More...
 
double MaximumCheckingDistance ()
 Returns the distance facets may be from one another in order to be used in the alignment. More...
 
NXOpen::Facet::SelectFacetedBodyListReferencePatches ()
 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. More...
 
NXOpen::Facet::MultiPatchAlignmentBuilder::ResolutionType Resolution ()
 Returns the type indicating number of facets to be used in the alignment. More...
 
void SetIteration (int iteration)
 Sets the value indicating the number of times the alignment algorithm is applied. More...
 
void SetMaximumCheckingDistance (double maximumCheckingDistance)
 Sets the distance facets may be from one another in order to be used in the alignment. More...
 
void SetResolution (NXOpen::Facet::MultiPatchAlignmentBuilder::ResolutionType resolution)
 Sets the type indicating number of facets to be used in the alignment. More...
 
void SetTolerance (double tolerance)
 Sets the precision of the alignment. More...
 
double Tolerance ()
 Returns the precision of the alignment. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Aligns multiple facet bodies to one another without using reference points.


To create a new instance of this class, use NXOpen::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.

Member Enumeration Documentation

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.

Enumerator
ResolutionTypeHigh 

Uses a high number of facets for the alignment.

ResolutionTypeMedium 

Uses a medium number of facets for the alignment.

ResolutionTypeLow 

Uses a low number of facets for the alignment.

Member Function Documentation

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

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

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

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

Parameters
tolerancetolerance
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


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