Documentación de la API > Solids and parts > Object ProSolid > Function ProSolidOutlineWithOptionsCompute
Function ProSolidOutlineWithOptionsCompute
Description
Computes the outline of a solid. This outline can include external datums.
Synopsis
#include <ProSolid.h>
ProSolidOutlineWithOptionsCompute
(
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.
*/
/* (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.
*/
/* (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
The function successfully computed the outline.
One or more of the input arguments are invalid.
A general error occurred and the function failed.
User Guide References
¿Fue esto útil?