geom3d
AreParallel
test if two objects are parallel to each other
Calling Sequence
Parameters
Description
Examples
AreParallel(dseg1, dseg2, cond)
AreParallel(l1, l2, cond)
AreParallel(l1, p1, cond)
AreParallel(p1, p2, cond)
dseg1, dseg2
-
directed line segments
l1, l2
lines
p1, p2
planes
cond
(optional) a name
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.
with⁡geom3d:
To view the results of the following example, copy and paste the commands and execute. Define two planes pp1, pp2
assume⁡l1≠0,l2≠0,l1≠l2,t≠0
plane⁡pp1,l1⁢x+p1⁢y+n1⁢z+p1,x,y,z
plane⁡pp2,l2⁢x+p2⁢y+n2⁢z+p2,x,y,z
Find the condition that makes pp1 and pp2 parallel to each other
AreParallel⁡pp1,pp2,cond
additionally⁡op⁡cond
AreParallel⁡pp1,pp2
See Also
geom3d[ArePerpendicular]
geom3d[line]
geom3d[plane]
Download Help Document