Brief Index      Full Index      Events Index      I.M. Reference

Compute_Polyline_From_Curve


Functions

void Compute_Polyline_From_Curve (HC_KEY key, const char *options, int *pcount, HC_POINT *points)
void Compute_Polyline_From_Curve_Size (HC_KEY key, const char *options, int *pcount)

Function Documentation

void Compute_Polyline_From_Curve ( HC_KEY  key,
const char *  options,
int *  pcount,
HC_POINT *  points 
)

Calculates and returns a tesselated version of a specified 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.

DETAILS

Valid choices for options include:

  • [no] maximum deviation [= xxx]

    Distance, in object space, of the tessellation to the parametric definition of the curve.

NOTES

RESTRICTIONS

See also:
Insert_Polyline, Edit_Polyline, Insert_Circle, Insert_Circular_Arc, Insert_Ellipse, Insert_Elliptical_Arc, Insert_NURBS_Curve

void Compute_Polyline_From_Curve_Size ( HC_KEY  key,
const char *  options,
int *  pcount 
)

Calculates and returns a the size of the tesselated curve, for use in a later call to Compute_Polyline_From_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.

DETAILS

No additional details. See Compute_Polyline_From_Curve().

See also:
Insert_Polyline, Edit_Polyline, Insert_Circle, Insert_Circular_Arc, Insert_Ellipse, Insert_Elliptical_Arc, Insert_NURBS_Curve

Brief Index      Full Index      Events Index      I.M. Reference