API 설명서 > Surface geometry > Object ProRulsrfdata > Function ProRulsrfdataGet
Function ProRulsrfdataGet
Description
Retrieves information from the ruled surface data structure.
NOTE:
This function ignores the output arguments with NULL pointers.
Synopsis
#include <ProSurfacedata.h>
ProRulsrfdataGet
(
ProSurfaceshapedata* p_surf_shape
/* (In)
The ruled surface data structure
*/
/* (Out)
The X-axis of the coordinate system
*/
/* (Out)
The Y-axis of the coordinate system
*/
/* (Out)
The Z-axis of the coordinate system
*/
Pro3dPnt origin
/* (Out)
The origin of the coordinate system
*/
ProCurvedata* p_curve1
/* (Out)
The first curve
*/
ProCurvedata* p_curve2
/* (Out)
The second curve
*/
)
Returns
The function successfully retrieved the information.
The input argument is invalid.
Invalid type of curve.
PRO_TK_BSPL_MULTIPLE_INNER_KNOTS
The curve is a B-spline with multiple inner knots.
Sample Code References
도움이 되셨나요?