CADGetSplinePointsCount

  Functions >

CADGetSplinePointsCount

Previous pageReturn to chapter overviewNext page

The CADGetSplinePointsCount function returns the number of the spline points.

 

Syntax

 

int CADGetSplinePointsCount(

  int Index,

    LPCADDATA lpData

);

 

 

Parameters

 

Index

Specifies type of the points (0 - Control points; 1 - Fit points; 2 - Knots).

lpData

Points to the CADDATA structure that contains properties of the SPLINE entity.

 

         

Return Value

If the function succeeds, the return value is a quantity of the spline points.

If the function fails, the return value is NULL. To get extended error information, call CADGetLastError.

 

 

See Also

CADGetSplineParams


© 2003-2021 CADSoftTools

Go to CAD DLL