HC_Compute_Polyline_From_Curve

bool HC_Compute_Polyline_From_Curve(Key key, char const *options, int *pcount, Point points[])
bool HC_Compute_Polyline_From_Curve(Key key, char const options, int pcount, Point points)

Calculates and returns a tesselated version of a specified curve.

Valid choices for options include:

  • [no] maximum deviation [= xxx] Distance, in object space, of the tessellation to the parametric definition of the curve.

    HC_Insert_Polyline, HC_Edit_Polyline, HC_Insert_Circle, HC_Insert_Circular_Arc, HC_Insert_Ellipse, HC_Insert_Elliptical_Arc, HC_Insert_NURBS_Curve

Parameters

key: Key to a particular curve. Valid curves include circles, circular chords, circular wedges, circular arcs, ellipses, elliptical arcs and NURBS curves.

options: Tesselation options.

pcount: Number of points in the polyline. Passed by reference. Returned to user.

points: Array of (x,y,z) triplets that define the polyline. Passed by reference. Returned to user.