Previous Next Up Title Contents Index Functions Index Top Library

CIRCULAR ARC (POLYLINE)

PXCIRCULAR_ARC


CALL SEQUENCE

void pxcircular_arc (
)

EFFECT

Insert a circular arc-shaped Polyline primitive into the open structure.

A Polyline element is created by computing the specified number of points on an arc from Start Angle to End Angle following positive angular direction (counter clockwise). All Z values of the polyline are equal to zero.

Depending on the edit mode, the polyline is inserted into the open structure after the current element or replaces the current element. The newly inserted element becomes the current element.

This function is equivalent to computing the points and using them in a call to the Polyline function (routine ppolyline).

Note: The macro PXDEGREES_TO_RADIANS converts degrees to radians:

Radians = Degrees * PXDEGREES_TO_RADIANS

where PXDEGREES_TO_RADIANS = 0.017453293 radians/degree.

The following macros may also be helpful:

PXPI_OVER_2	=	1.5707963 radians	(90 degrees)
PXPI	=	3.1415927 radians	(180 degrees)
PX2_PI	=	6.2831853 radians	(360 degrees)

ERRORS

5
Ignoring function, function requires either state STNOP or state STOP.

SEE ALSO

Polyline, see ppolyline, ppolyline3


Previous Next Up Title Contents Index Functions Index Top Library