| |
introduces a ray r
with source and passing through point .
| |
| |
introduces a ray r starting at source with
direction .
| |
| |
introduces a ray r starting at source with
the direction of .
| |
| |
introduces a ray r starting at source with
the same direction as .
|
|
| |
Test for equality: two rays are equal, iff they have the same source and the same direction. | ||
|
| |
Test for inequality. | ||
|
| returns the source of r. |
|
|
returns a point on r. point(0) is the source,
point(i), with , is different from the
source. Precondition: . |
| ||
| returns the direction of r. | |
|
| returns a vector giving the direction of r. |
|
| |
returns the line supporting r which has the same direction. | ||
|
| returns the ray with the same source and the opposite direction. |
|
| ray r is degenerate, if the source and the second defining point fall together (that is if the direction is degenerate). |
|
|
|
|
|
|
|
| |
A point is on r, iff it is equal to the source of r, or if it is in the interior of r. | ||
|
| |
checks if point is on r. This function is faster
than function has_on() if the precondition
checking is disabled. Precondition: is on the supporting line of r. |
|
| |
returns the ray obtained by applying on the source and on the direction of r. |