Category Solids and parts, Object ProSolid

Function ProSolidOutlineCompute


Description
Computes the outline of a solid. This outline can include external datums.
Replacement in Object TOOLKIT: pfcSolid::EvalOutline
Synopsis
#include <ProSolid.h>
ProErrorProSolidOutlineCompute(
ProSolid p_solid
/* (In)
The solid whose outline is to be computed.
*/
ProMatrix matrix
/* (In)
The orientation matrix (with respect to the base coordinate system) to which the outline is to be computed.
*/
ProSolidOutlExclTypes excludes[]
/* (In)
An array of types to exclude from outline computation (such as nongeometric features). If you set this to PRO_OUTL_EXC_NOT_USED, nothing is excluded.
*/
int num_excludes
/* (In)
The number of exclusions in the array.
*/
Pro3dPnt r_outline_points[2]
/* (Out)
The two points that define the boundary box of the solid in the specified orientation.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully computed the outline.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  3. Fundamentals: Objects and Actions
  4. Core: Solids, Parts, and Materials: Solid Outline
  5. Core: Solids, Parts, and Materials: Solid Outline

Sample Code References:

  1. pt_examples ( TestSolid.c )
  2. pt_userguide ( UgSolidOutlineComp.c )