The CADGetSplineParams function returns the parameter of the SPLINE entity.
Syntax
int CADGetSplineParams(
int Index,
LPCADDATA lpData
VARIANT *Param
);
Parameters
Index |
Specifies the type of the parameter to be returned (0 - List of control points; 1 - List of fit points; 2 - Number of knots). |
lpData |
Points to the CADDATA structure that contains the parameters of the SPLINE entity. |
Param |
Contains the returned parameter which type is specified by Index. |
Return Value
If the function succeeds, the return value is a number of the spline points
If the function fails, the return value is NULL. To get extended error information, call CADGetLastError.
See Also
© 2003-2024 CADSoftTools
Go to CAD DLL