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

Online Help

All Products    Maple    MapleSim


geom3d

  

AreParallel

  

test if two objects are parallel to each other

 

Calling Sequence

Parameters

Description

Examples

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

withgeom3d:

To view the results of the following example, copy and paste the commands and execute. Define two planes pp1, pp2

assumel10,l20,l1l2,t0

planepp1,l1x+p1y+n1z+p1,x,y,z

planepp2,l2x+p2y+n2z+p2,x,y,z

Find the condition that makes pp1 and pp2 parallel to each other

AreParallelpp1,pp2,cond

additionallyopcond

AreParallelpp1,pp2

See Also

geom3d[ArePerpendicular]

geom3d[line]

geom3d[plane]