Description | ||||||||||||||||||||
Returns the interference information between two specified items. In Assembly mode, each item is either a component part or a solid body of such a part. In Part mode, each item is a solid body of the current part. The data obtained using this API can be passed to ProFitInterferencevolumeCompute() and ProFitInterferencevolumeDisplay(). However, please bear in mind that if you include special geometry like quilts or facets in the calculation, the data returned by this API will be rejected by ProFitInterferencevolumeCompute(). This is because potential intersections with quilts/facets do not constitute a closed volume. ProFitInterferencevolumeDisplay() will still work though, displaying only intersection curves. If the items are regenerated, the interferences should be recalculated. | ||||||||||||||||||||
Replacement in Object TOOLKIT: | pfcSelectionEvaluator::ComputeInterference | |||||||||||||||||||
Synopsis | ||||||||||||||||||||
#include <ProFit.h> | ||||||||||||||||||||
ProError | ProFitInterferenceCompute | ( | ||||||||||||||||||
ProSelection sel_1 | ||||||||||||||||||||
/* (In) | ||||||||||||||||||||
The first part or solid body. | ||||||||||||||||||||
*/ | ||||||||||||||||||||
ProSelection sel_2 | ||||||||||||||||||||
/* (In) | ||||||||||||||||||||
The second part or solid body. | ||||||||||||||||||||
*/ | ||||||||||||||||||||
ProBoolean set_facets | ||||||||||||||||||||
/* (In) | ||||||||||||||||||||
The option to include facets (relevant only for parts). | ||||||||||||||||||||
*/ | ||||||||||||||||||||
ProBoolean set_quilts | ||||||||||||||||||||
/* (In) | ||||||||||||||||||||
The option to include quilts (relevant only for parts). | ||||||||||||||||||||
*/ | ||||||||||||||||||||
ProInterferenceData* interf_data | ||||||||||||||||||||
/* (Out) | ||||||||||||||||||||
The interference data. If no interference detected, NULL value will be returned. Free this using ProInterferenceDataFree(). | ||||||||||||||||||||
*/ | ||||||||||||||||||||
) | ||||||||||||||||||||
Returns | ||||||||||||||||||||
|