Object ProFit

Function ProFitGlobalinterferenceCompute


Description
Computes the interference in the specified assembly. If the assembly is regenerated, the interference should be recalculated.
Replacement in Object TOOLKIT: pfcGlobalEvaluator::ComputeGlobalInterference
Synopsis
#include <ProFit.h>
ProErrorProFitGlobalinterferenceCompute(
ProAssembly assem
/* (In)
The assembly to be checked for interference.
*/
ProFitComputeSetup comp_setup
/* (In)
The setup to compute interference.
*/
ProBoolean set_facets
/* (In)
The option to include facets in the calculation.
*/
ProBoolean set_quilts
/* (In)
The option to include quilts in the calculation.
*/
ProBoolean fast_calculation
/* (In)
The option to set the calculation to be either exact or fast. Results of fast calculation may contain interferences which are degenerate i.e. touching surfaces or vertices. In the exact calculation these cases are discarded. Interference information obtained by fast calculation contains only the pairs of interfering components and not the interference data. This data must be obtained by using ProFitInterferenceCompute() for each pair of interfering components before it can be passed to ProFitInterferencevolumeCompute() or ProFitInterferencevolumeDisplay().
*/
ProInterferenceInfo** interf_info
/* (Out)
ProArray of structure containing information about interfering components. Free this using ProInterferenceInfoProarrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully computed the interference.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORThe interference could not be computed.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: 3D Geometry: Interference
  3. Core: 3D Geometry: Interference

Sample Code References:

  1. pt_userguide ( UgGeomInterferCheck.c )