Functions | |
void | Insert_Infinite_Line (double xa, double ya, double za, double xb, double yb, double zb) |
HC_KEY | KInsert_Infinite_Line (double xa, double ya, double za, double xb, double yb, double zb) |
void | QInsert_Infinite_Line (const char *segment, double xa, double ya, double za, double xb, double yb, double zb) |
HC_KEY | QKInsert_Infinite_Line (const char *segment, double xa, double ya, double za, double xb, double yb, double zb) |
void | DInsert_Infinite_Line (double xa, double ya, double za, double xb, double yb, double zb) |
HC_KEY | DKInsert_Infinite_Line (double xa, double ya, double za, double xb, double yb, double zb) |
void | DQInsert_Infinite_Line (const char *segment, double xa, double ya, double za, double xb, double yb, double zb) |
HC_KEY | DQKInsert_Infinite_Line (const char *segment, double xa, double ya, double za, double xb, double yb, double zb) |
void Insert_Infinite_Line | ( | double | xa, | |
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Adds an infinitely long line to the currently open segment.
xa | - x-coordinate for one end of the line segment. | |
ya | - y-coordinate for one end of the line segment. | |
za | - z-coordinate for one end of the line segment. | |
xb | - x-coordinate for other end of the line segment. | |
yb | - y-coordinate for other end of the line segment. | |
zb | - z-coordinate for other end of the line segment. |
If there is an error the KInsert routine returns a -1.
Infinite lines are considered as unbounded geometry and therefore will be ignored for bounding calculations.
HC_KEY KInsert_Infinite_Line | ( | double | xa, | |
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Similar to Insert_Infinite_Line(), but returns an HC_KEY to the object.
xa | - x-coordinate for one end of the line segment. | |
ya | - y-coordinate for one end of the line segment. | |
za | - z-coordinate for one end of the line segment. | |
xb | - x-coordinate for other end of the line segment. | |
yb | - y-coordinate for other end of the line segment. | |
zb | - z-coordinate for other end of the line segment. |
void QInsert_Infinite_Line | ( | const char * | segment, | |
double | xa, | |||
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Similar to Insert_Infinite_Line(), 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. | |
xa | - x-coordinate for one end of the line segment. | |
ya | - y-coordinate for one end of the line segment. | |
za | - z-coordinate for one end of the line segment. | |
xb | - x-coordinate for other end of the line segment. | |
yb | - y-coordinate for other end of the line segment. | |
zb | - z-coordinate for other end of the line segment. |
HC_KEY QKInsert_Infinite_Line | ( | const char * | segment, | |
double | xa, | |||
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Similar to Insert_Infinite_Line(), 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. | |
xa | - x-coordinate for one end of the line segment. | |
ya | - y-coordinate for one end of the line segment. | |
za | - z-coordinate for one end of the line segment. | |
xb | - x-coordinate for other end of the line segment. | |
yb | - y-coordinate for other end of the line segment. | |
zb | - z-coordinate for other end of the line segment. |
void DInsert_Infinite_Line | ( | double | xa, | |
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Similar to Insert_Infinite_Line() but accepts and/or returns double-precision values. This command can only be used when the application links the HOOPS double-precison module.
xa | - x-coordinate for one end of the line segment. | |
ya | - y-coordinate for one end of the line segment. | |
za | - z-coordinate for one end of the line segment. | |
xb | - x-coordinate for other end of the line segment. | |
yb | - y-coordinate for other end of the line segment. | |
zb | - z-coordinate for other end of the line segment. |
HC_KEY DKInsert_Infinite_Line | ( | double | xa, | |
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Similar to DInsert_Infinite_Line(), but returns an HC_KEY to the object.
xa | - x-coordinate for one end of the line segment. | |
ya | - y-coordinate for one end of the line segment. | |
za | - z-coordinate for one end of the line segment. | |
xb | - x-coordinate for other end of the line segment. | |
yb | - y-coordinate for other end of the line segment. | |
zb | - z-coordinate for other end of the line segment. |
void DQInsert_Infinite_Line | ( | const char * | segment, | |
double | xa, | |||
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Similar to DInsert_Infinite_Line(), 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. | |
xa | - x-coordinate for one end of the line segment. | |
ya | - y-coordinate for one end of the line segment. | |
za | - z-coordinate for one end of the line segment. | |
xb | - x-coordinate for other end of the line segment. | |
yb | - y-coordinate for other end of the line segment. | |
zb | - z-coordinate for other end of the line segment. |
HC_KEY DQKInsert_Infinite_Line | ( | const char * | segment, | |
double | xa, | |||
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Similar to DInsert_Infinite_Line(), 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. | |
xa | - x-coordinate for one end of the line segment. | |
ya | - y-coordinate for one end of the line segment. | |
za | - z-coordinate for one end of the line segment. | |
xb | - x-coordinate for other end of the line segment. | |
yb | - y-coordinate for other end of the line segment. | |
zb | - z-coordinate for other end of the line segment. |