geom3d[AreParallel] - test if two objects are parallel to each other
|
Calling Sequence
|
|
AreParallel(dseg1, dseg2, cond)
AreParallel(l1, l2, cond)
AreParallel(l1, p1, cond)
AreParallel(p1, p2, cond)
|
|
Parameters
|
|
dseg1, dseg2
|
-
|
directed line segments
|
l1, l2
|
-
|
lines
|
p1, p2
|
-
|
planes
|
cond
|
-
|
(optional) a name
|
|
|
|
|
Description
|
|
•
|
The routine returns true if the two given objects are parallel to each other; false if they are not; and FAIL if it is unable to reach a conclusion.
|
•
|
In case of FAIL, if the third optional argument is given, the condition that makes them parallel to each other is assigned to this argument.
|
•
|
The command with(geom3d,AreParallel) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
To view the results of the following example, copy and paste the commands and execute. Define two planes pp1, pp2
>
|
|
>
|
|
>
|
|
Find the condition that makes pp1 and pp2 parallel to each other
>
|
|
>
|
|
>
|
|
|
|
Download Help Document
Was this information helpful?