geom3d
AreCoplanar
test if the given objects are on the same plane
Calling Sequence
Parameters
Description
Examples
AreCoplanar(A, B, C, D)
AreCoplanar(l1, l2)
A, B, C, D
-
points
l1, l2
lines
The routine returns true if the four given points or two given lines are coplanar (i.e., they are on the same plane); false if they are not; and FAIL if it is unable to reach a conclusion.
The command with(geom3d,AreCoplanar) allows the use of the abbreviated form of this command.
withgeom3d:
pointA,0,0,0,pointB,1,1,11,pointC,3,7,5:
planep,A,B,C
p
Generate a random point on p
randpointE,p:
Hence, A, B, C and E must be on the same plane
AreCoplanarA,B,C,E
true
pointo,0,0,0:
linel1,o,1,12,13:
planep1,3x−4y+5z=10,x,y,z:planep2,2x+2y−3z=4,x,y,z:
linel2,p1,p2:
AreCoplanarl1,l2
false
AreSkewLinesl1,l2
See Also
geom3d[AreCollinear]
geom3d[AreParallel]
geom3d[ArePerpendicular]
geom3d[AreSkewLines]
Download Help Document