Edit_Ellipse

Functions

void DEdit_Ellipse (HC_KEY key, const HC_DPOINT *center, const HC_DPOINT *major, const HC_DPOINT *minor)
 Similar to Edit_Ellipse(), but operates on double-precision data. More...
 
void Edit_Ellipse (HC_KEY key, const HC_POINT *center, const HC_POINT *major, const HC_POINT *minor)
 Edits an ellipse as it sits in the database. More...
 

Detailed Description

Function Documentation

◆ DEdit_Ellipse()

void DEdit_Ellipse ( HC_KEY  key,
const HC_DPOINT *  center,
const HC_DPOINT *  major,
const HC_DPOINT *  minor 
)

Similar to Edit_Ellipse(), but operates on double-precision data.

Parameters
keyKey to an ellipse object.
center- An x-y-z triplet for the coordinates of the center of the ellipse. (A simple array of three elements may also be used in most languages.) Passed by reference always.
major- An x-y-z triplet for the coordinates of the intersection of the ellipse and its major axis. Passed by reference always.
minor- An x-y-z triplet for the coordinates of the intersection of the ellipse and its minor axis. Passed by reference always.

◆ Edit_Ellipse()

void Edit_Ellipse ( HC_KEY  key,
const HC_POINT *  center,
const HC_POINT *  major,
const HC_POINT *  minor 
)

Edits an ellipse as it sits in the database.

Parameters
keyKey to an ellipse object.
center- An x-y-z triplet for the coordinates of the center of the ellipse. (A simple array of three elements may also be used in most languages.) Passed by reference always.
major- An x-y-z triplet for the coordinates of the intersection of the ellipse and its major axis. Passed by reference always.
minor- An x-y-z triplet for the coordinates of the intersection of the ellipse and its minor axis. Passed by reference always.

DETAILS

Ellipses are grouped with circles, polygons, shells, and meshes for rendering purposes. The rendition of the interior of the ellipse can be adjusted with changes to Face Color and Face Pattern. The circumference of an ellipse can be made distinct from the interior through the use of Edge Color, Edge Pattern and Edge Weight. An ellipse's Visibility and Selectability are controlled by the "edge", "face", and "polygon" keywords.

NOTES

If you only work in two dimensions, specify all the z coordinates as zero. The system will automatically take note.

Make sure the points are not colinear. The system checks and issues an error message if all three points lie on a line, or if two are coincident.

See also
Insert_Ellipse, Insert_Circle, Insert_Circular_Arc, Insert_Elliptical_Arc, Insert_Polygon, Set_Visibility, Set_Edge_Pattern, Set_Edge_Weight, Set_Face_Pattern, Set_Color, Renumber_Key.