Functions | |
HC_KEY | Insert_Infinite_Ray (double xa, double ya, double za, double xb, double yb, double zb) |
void | DInsert_Infinite_Ray (double xa, double ya, double za, double xb, double yb, double zb) |
void | Edit_Infinite_Ray (HC_KEY key, double xa, double ya, double za, double xb, double yb, double zb) |
HC_KEY Insert_Infinite_Ray | ( | 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 Insert routine returns a -1.
Infinite rays, like infinite lines, are considered as unbounded geometry and therefore will be ignored for bounding calculations.
void DInsert_Infinite_Ray | ( | double | xa, | |
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Similar to Insert_Infinite_Ray() 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. |
void Edit_Infinite_Ray | ( | HC_KEY | key, | |
double | xa, | |||
double | ya, | |||
double | za, | |||
double | xb, | |||
double | yb, | |||
double | zb | |||
) |
Modifies an existing infinite ray.
key | - Key to the infinite ray that is to be modified. | |
xa | - new x-coordinate for one end of the line segment. | |
ya | - new y-coordinate for one end of the line segment. | |
za | - new z-coordinate for one end of the line segment. | |
xb | - new x-coordinate for other end of the line segment. | |
yb | - new y-coordinate for other end of the line segment. | |
zb | - new z-coordinate for other end of the line segment. |