API 文件集 > Geometry items > Object ProGeomitem > Function ProGeomitemToCurve
Function ProGeomitemToCurve
Description
Converts a curve ProGeomitem handle to a ProCurve handle.
Synopsis
#include <ProGeomitem.h>
ProGeomitemToCurve
(
ProGeomitem* p_geom_item
/* (In)
The curve geometry item handle
*/
ProCurve* r_curve_handle
/* (Out)
The curve handle initialized, based on the input geometry item handle
*/
)
Returns
The function successfully converted the geometry item handle to a curve handle.
The input geometry item handle is invalid, or does not refer to a curve.
Sample Code References
這是否有幫助?