void pxgdp_ellipse3 (
Pxprim_type prim_type, /*primitive type */
PXPRIM_POLYLINE =1
polyline PXPRIM_FILL_AREA =2
fill area PXPRIM_FILL_AREA_SET =3
fill area set PXPRIM_POLYMARKER =4
polymarker
Ppoint3 *center, /*X, Y, and Z coordinates of the center in MC */ Pvec3 *minor_axis, /*minor axis in MC */ Pvec3 *major_axis, /*major axis in MC */ Pfloat chordal_dev /*chordal deviation in DC */
)
Depending on the edit mode, a GDP Ellipse 3 element is inserted into the open structure after the current element or replaces the current element. The newly inserted element becomes the current element.
As specified by Primitive Type, the new element will be rendered as a polyline, fill area, fill area set, or polymarker, using the current attributes for that element type.
If the specified major and minor axes are not perpendicular, GPHIGS will generate an error, and the function will be ignored.
Chordal deviation refers to the maximum distance between the desired curve and the midpoint of a segment making up the polyline approximation of the curve. Thus, the smaller the chordal deviation, the smoother the curve. Since the smoothness of a curve is ultimately limited by the resolution of the workstation display, specifying a chordal deviation which is smaller than the workstation pixel size will not improve the display, and will slow GPHIGS considerably, because it is forced to calculate and draw an excessive number of vertices.
GDP circular arc, see pxgdp_circular_arc
GDP ellipse, see pxgdp_ellipse
GDP elliptical arc, see pxgdp_elliptical_arc, pxgdp_elliptical_arc3