Functions | |
void | Insert_Ink (double x, double y, double z) |
HC_KEY | KInsert_Ink (double x, double y, double z) |
void | QInsert_Ink (const char *segment, double x, double y, double z) |
HC_KEY | QKInsert_Ink (const char *segment, double x, double y, double z) |
void | DInsert_Ink (double x, double y, double z) |
HC_KEY | DKInsert_Ink (double x, double y, double z) |
void | DQInsert_Ink (const char *segment, double x, double y, double z) |
HC_KEY | DQKInsert_Ink (const char *segment, double x, double y, double z) |
void Insert_Ink | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Utility routine to extend the "currently-being-inked-in" polyline.
x | - x-coordinate of the next place to "draw a line" to. | |
y | - y-coordinate of the next place to "draw a line" to. | |
z | - z-coordinate of the next place to "draw a line" to. |
Restart_Ink() closes the "currently being inked" polyline. The next time you call Insert_Ink, a fresh polyline is begun. Nothing else causes the inked polyline to be terminated, except of course a delete or a flush operation. In particular, if you close and later re-open the segment, a subsequent Insert_Ink() will resume right where you left off. And if you change attribute settings, the inked polyline will change just as any completed polyline would.
After the first call to Insert_Ink() in a segment---when there is only one point defined on the polyline---there may or may not be a single dot visible on the screen. It's implementation-dependent.
If there is an error the KInsert routine will return a-1.
HC_KEY KInsert_Ink | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Similar to Insert_Ink(), but returns an HC_KEY to the object.
x | - x-coordinate of the next place to "draw a line" to. | |
y | - y-coordinate of the next place to "draw a line" to. | |
z | - z-coordinate of the next place to "draw a line" to. |
void QInsert_Ink | ( | const char * | segment, | |
double | x, | |||
double | y, | |||
double | z | |||
) |
Similar to Insert_Ink(), but operates on a given segment rather than the currently open one.
segment | - Segment(s) to be inserted into, if other than the currently- open segment. | |
x | - x-coordinate of the next place to "draw a line" to. | |
y | - y-coordinate of the next place to "draw a line" to. | |
z | - z-coordinate of the next place to "draw a line" to. |
HC_KEY QKInsert_Ink | ( | const char * | segment, | |
double | x, | |||
double | y, | |||
double | z | |||
) |
Similar to Insert_Ink(), but operates on a given segment and returns an HC_KEY to the object.
segment | - Segment(s) to be inserted into, if other than the currently- open segment. | |
x | - x-coordinate of the next place to "draw a line" to. | |
y | - y-coordinate of the next place to "draw a line" to. | |
z | - z-coordinate of the next place to "draw a line" to. |
void DInsert_Ink | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Similar to Insert_Ink() but accepts and/or returns double-precision values. This command can only be used when the application source includes the HOOPS double-precision header, hcd.h.
x | - x-coordinate of the next place to "draw a line" to. | |
y | - y-coordinate of the next place to "draw a line" to. | |
z | - z-coordinate of the next place to "draw a line" to. |
HC_KEY DKInsert_Ink | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Similar to DInsert_Ink(), but returns an HC_KEY to the object.
x | - x-coordinate of the next place to "draw a line" to. | |
y | - y-coordinate of the next place to "draw a line" to. | |
z | - z-coordinate of the next place to "draw a line" to. |
void DQInsert_Ink | ( | const char * | segment, | |
double | x, | |||
double | y, | |||
double | z | |||
) |
Similar to DInsert_Ink(), but operates on a given segment rather than the currently open one.
segment | - Segment(s) to be inserted into, if other than the currently- open segment. | |
x | - x-coordinate of the next place to "draw a line" to. | |
y | - y-coordinate of the next place to "draw a line" to. | |
z | - z-coordinate of the next place to "draw a line" to. |
HC_KEY DQKInsert_Ink | ( | const char * | segment, | |
double | x, | |||
double | y, | |||
double | z | |||
) |
Similar to DInsert_Ink(), but operates on a given segment and returns an HC_KEY to the object.
segment | - Segment(s) to be inserted into, if other than the currently- open segment. | |
x | - x-coordinate of the next place to "draw a line" to. | |
y | - y-coordinate of the next place to "draw a line" to. | |
z | - z-coordinate of the next place to "draw a line" to. |