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

Online Help

All Products    Maple    MapleSim


geom3d

  

IsOnObject

  

Test if a point, a list, or a set of points is on a given object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsOnObject(f, obj, cond)

Parameters

f

-

point, list or set of points

obj

-

line, plane, or sphere

cond

-

(optional) name

Description

• 

The routine returns true if the point f or the list/set of points f is on object obj; false if it is 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 f on object l is assigned to this argument. It will be either of the form expr=0 or of the form &andexpr_1=0,...,expr_n=0 where expr, expr_i are maple expressions.

• 

The command with(geom3d,IsOnObject) allows the use of the abbreviated form of this command.

Examples

withgeom3d:

Find the equation of the plane through the line (3*x-4*y+5*z=10, 2*x+2*y-3*z=4) and parallel to the line x=2*y=3*z

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:

planep,l2,l1:

check if line l2 lies in the plane p, line l1 is parallel to plane p

IsOnObjectFixedPointl2,p;AreParallell2,p;AreParallell1,p

true

true

true

(1)

See Also

geom3d[randpoint]