API Documentation > Interface Classes > Class pfcSelectionEvaluator
Class pfcSelectionEvaluator

# include <pfcInterference.h>

class
pfcSelectionEvaluator
: public virtual
pfcObject
{
xaideclare(pfcSelectionEvaluator)
...
};


Description
This class allows the computation of clearances and inteferences between two selected objects.
Method Summary
Enables the user to compute the clearance between two selected parts or surfaces.
Enables the user to measure the interference between the two specified parts.
Enables the user to find the nearest local minimum (not the absolute minimum) of the distance function between two selected objects.
void
The SelectionPair: the pair of selected objects.
Method Detail
GetSelections
()
void
SetSelections
The SelectionPair: the pair of selected objects.
Manual References:
ComputeInterference
(xbool SolidOnly)
Enables the user to measure the interference between the two specified parts.
Exceptions thrown (but not limited to):
pfcXInvalidSelection - Selections are not valid
Manual References:
Parameters:
SolidOnly
Specifies whether to compute only solid interfaces or to also compute surface interfaces.
Returns:
The InterferenceVolume object.
ComputeClearance
()
Enables the user to compute the clearance between two selected parts or surfaces.
Exceptions thrown (but not limited to):
pfcXInvalidSelection - Selections are not valid
Manual References:
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
()
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):
pfcXToolkitBadContext - Not applicable to the input selections.
Manual References:
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.
Was this helpful?