geometry[AreParallel] - test if two lines are parallel to each other
|
Calling Sequence
|
|
AreParallel(l1, l2, cond)
|
|
Parameters
|
|
l1, l2
|
-
|
two lines
|
cond
|
-
|
(optional) name
|
|
|
|
|
Description
|
|
•
|
The routine returns true if l1 and l2 are parallel to each other; false if they are not; and FAIL if it is unable to determine if l1 and l2 are parallel to each other.
|
•
|
In case of FAIL, if the third optional argument is given, the condition that makes l1 and l2 parallel to each other is assigned to this argument.
|
•
|
The command with(geometry,AreParallel) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
>
|
|
| (2) |
>
|
|
>
|
|
AreParallel: "hint: cannot determine if 12-3*a is zero"
| |
| (3) |
>
|
|
| (4) |
>
|
|
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?