Category Geometry items, Object ProAxis

Function ProAxisSurfaceGet


Description
Retrieves the surface that owns the specified axis.
Replacement in Object TOOLKIT: pfcAxis::Surf
Synopsis
#include <ProAxis.h>
ProErrorProAxisSurfaceGet(
ProMdl owner
/* (In)
The owner of the axis
*/
ProAxis axis
/* (In)
The axis handle
*/
ProSurface* p_surface
/* (Out)
The surface handle to be filled in
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the surface.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_E_NOT_FOUNDThe owner surface does not exist, or is not in the geometry.

Manual References:

  1. Core: 3D Geometry: Visiting Solid Geometry

Sample Code References:

  1. pt_examples ( UtilGeom.c )