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.
with⁡geom3d:
point⁡A,0,0,0,point⁡B,1,1,11,point⁡C,3,7,5:
plane⁡p,A,B,C
p
Generate a random point on p
randpoint⁡E,p:
Hence, A, B, C and E must be on the same plane
AreCoplanar⁡A,B,C,E
true
point⁡o,0,0,0:
line⁡l1,o,1,12,13:
plane⁡p1,3⁢x−4⁢y+5⁢z=10,x,y,z:plane⁡p2,2⁢x+2⁢y−3⁢z=4,x,y,z:
line⁡l2,p1,p2:
AreCoplanar⁡l1,l2
false
AreSkewLines⁡l1,l2
See Also
geom3d[AreCollinear]
geom3d[AreParallel]
geom3d[ArePerpendicular]
geom3d[AreSkewLines]
Download Help Document