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

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 &and⁡expr_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

> 

with⁡geom3d:

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

> 

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:

> 

plane⁡p,l2,l1:

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

> 

IsOnObject⁡FixedPoint⁡l2,p;AreParallel⁡l2,p;AreParallel⁡l1,p

true

true

true

(1)

See Also

geom3d[randpoint]