Category Solids and parts, Object ProSolid

Function ProSolidOutlineWithOptionsCompute


Description
Computes the outline of a solid. This outline can include external datums.
Synopsis
#include <ProSolid.h>
ProErrorProSolidOutlineWithOptionsCompute(
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.
*/
ProFeatureFilterAction filter_action
/* (In)
The filter function. If NULL, all features are considred while computing outline.
*/
ProAppData app_data
/* (In)
The application data passed to the filter functions.
*/
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. Core: Solids, Parts, and Materials: Solid Outline