Library | Package Java Toolkit

Interface SelectionEvaluator

package com.ptc.pfc.pfcInterference;

public interface SelectionEvaluator
  extends com.ptc.pfc.pfcObject.Object



Description

This class allows the computation of clearances and inteferences between two selected objects.



Method Summary
ClearanceDataComputeClearance ()
    Enables the user to compute the clearance between two selected parts or surfaces.
/*optional*/ InterferenceVolumeComputeInterference (boolean SolidOnly)
    Enables the user to measure the interference between the two specified parts.
CriticalDistanceDataComputeNearestCriticalDistance ()
    Enables the user to find the nearest local minimum (not the absolute minimum) of the distance function between two selected objects.
SelectionPairGetSelections ()
    Get method for attribute "Selections"
    The SelectionPair: the pair of selected objects.
voidSetSelections (SelectionPair value)
    Set method for attribute "Selections"
    The SelectionPair: the pair of selected objects.

Method Detail

GetSelections/SetSelections

SelectionPairGetSelections ()
voidSetSelections (SelectionPair value)


    The SelectionPair: the pair of selected objects.
Manual References:
Geometry Evaluation: Analyzing Interference Information, Geometry Evaluation: Analyzing Interference Information, Geometry Evaluation: Analyzing Interference Information, Geometry Evaluation: Analyzing Interference Information



ComputeInterference

/*optional*/ InterferenceVolumeComputeInterference (boolean SolidOnly)


    Enables the user to measure the interference between the two specified parts.

Exceptions thrown (but not limited to):

XInvalidSelection - Selections are not valid


Manual References:
Geometry Evaluation: Analyzing Interference Information, Geometry Evaluation: Analyzing Interference Information
Parameters:
SolidOnly
Specifies whether to compute only solid interfaces or to also compute surface interfaces.
Returns:
The InterferenceVolume object.


ComputeClearance

ClearanceDataComputeClearance ()


    Enables the user to compute the clearance between two selected parts or surfaces.

Exceptions thrown (but not limited to):

XInvalidSelection - Selections are not valid


Manual References:
Geometry Evaluation: Analyzing Interference Information, Geometry Evaluation: Analyzing Interference Information
Returns:
The ClearanceData object that represents the value of the computed clearance, indicates if interference is detected and the closest points (in the respective part's coordinate systems).


ComputeNearestCriticalDistance

CriticalDistanceDataComputeNearestCriticalDistance ()


    Enables the user to find the nearest local minimum (not the absolute minimum) of the distance function between two selected objects.

Exceptions thrown (but not limited to):

XToolkitBadContext - Not applicable to the input selections.


Manual References:
Geometry Evaluation: Analyzing Interference Information
Returns:
The CriticalDistanceData object that represents the local minimum distance between two selected objects, two 3d points two surface UV-parameters where the distance is calculated.