HC_DInsert_Ellipse

Key HC_DInsert_Ellipse(DPoint const *center, DPoint const *major, DPoint const *minor)
Key HC_DInsert_Ellipse(DPoint const center, DPoint const major, DPoint const minor)

Similar to Insert_Ellipse(), but accepts parameters of type double for increased precision.

HC_Insert_Ellipse().

Parameters

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.

Returns

The key to the inserted geometry, or -1 if an error occurred.