Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

Show_Ellipse

Functions

void DShow_Ellipse (HC_KEY key, HC_DPOINT *center, HC_DPOINT *major, HC_DPOINT *minor)
 Similar to Show_Ellipse(), but returns double-precision values. More...
 
void Show_Ellipse (HC_KEY key, HC_POINT *center, HC_POINT *major, HC_POINT *minor)
 Returns the three points used to define the ellipse, as referenced by a key. More...
 

Detailed Description

Function Documentation

void DShow_Ellipse ( HC_KEY  key,
HC_DPOINT *  center,
HC_DPOINT *  major,
HC_DPOINT *  minor 
)

Similar to Show_Ellipse(), but returns double-precision values.

Parameters
key- Unique numeric identifier pointing to an ellipse in the database.
center- An x-y-z triplet for the center used to define the ellipse. (A simple array of three elements may also be used in most languages.) Returned to user. Passed by reference always.
major- An x-y-z triplet defining the major(longest) axis of the ellipse. Returned to user. Passed by reference always.
minor- An x-y-z triplet defining the minor(shortest) axis of the ellipse. Returned to user. Passed by reference always.
void Show_Ellipse ( HC_KEY  key,
HC_POINT center,
HC_POINT major,
HC_POINT minor 
)

Returns the three points used to define the ellipse, as referenced by a key.

Parameters
key- Unique numeric identifier pointing to an ellipse in the database.
center- An x-y-z triplet for the center used to define the ellipse. (A simple array of three elements may also be used in most languages.) Returned to user. Passed by reference always.
major- An x-y-z triplet defining the major(longest) axis of the ellipse. Returned to user. Passed by reference always.
minor- An x-y-z triplet defining the minor(shortest) axis of the ellipse. Returned to user. Passed by reference always.

DETAILS

This routine finds the three points used to define the ellipse that corresponds to the given key. You could use this ability, for example, to extract data needed to construct a line tangent to an existing ellipse. The key for the ellipse might come from Show_Selection_Element() or Find_Contents() , or it might have been saved by your program when the ellipse was created (via Insert_Ellipse() ).

NOTES

RESTRICTIONS

See also
Insert_Ellipse, Show_Selection_Element, Get_Selection, Begin_Contents_Search, Compute_Coordinates.