Object ProFit

Function ProFitInterferencevolumeCompute


Description
Calculates volume of interference between two items (components and/or solid bodies of components/parts) The interference volume can only be calculated if the interference data was obtained by using ProFitInterferenceCompute() or ProFitGlobalinterferenceCompute() without including facets or quilts, that is only for interfering solid geometry.
Replacement in Object TOOLKIT: pfcInterferenceVolume::ComputeVolume
Synopsis
#include <ProFit.h>
ProErrorProFitInterferencevolumeCompute(
ProInterferenceData interf_data
/* (In)
The interference data. This is obtained using either ProFitGlobalinterferenceCompute() or ProFitInterferenceCompute().
*/
double* volume
/* (Out)
The volume of interference between the items.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully computed the volume.
PRO_TK_BAD_INPUTSInput arguments are invalid.
PRO_TK_GENERAL_ERRORThe volume could not be computed.
PRO_TK_BAD_CONTEXTThe interference data contains interference information obtained by including quilts and/or facets.

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 )
  2. pt_userguide ( UgGeomInterferCheck.c )