AreCoplanar - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


geom3d

  

AreCoplanar

  

test if the given objects are on the same plane

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

AreCoplanar(A, B, C, D)

AreCoplanar(l1, l2)

Parameters

A, B, C, D

-

points

l1, l2

-

lines

Description

• 

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.

Examples

withgeom3d:

pointA,0,0,0,pointB,1,1,11,pointC,3,7,5:

planep,A,B,C

p

(1)

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

(2)

pointo,0,0,0:

linel1,o,1,12,13:

planep1,3x4y+5z=10,x,y,z:planep2,2x+2y3z=4,x,y,z:

linel2,p1,p2:

AreCoplanarl1,l2

false

(3)

AreSkewLinesl1,l2

true

(4)

See Also

geom3d[AreCollinear]

geom3d[AreParallel]

geom3d[ArePerpendicular]

geom3d[AreSkewLines]