test if a point is on a line or a plane, or a line is embedded in a plane - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Multivariate Calculus : Lines and Planes : Student/MultivariateCalculus/Contains

Student[MultivariateCalculus][Contains] - test if a point is on a line or a plane, or a line is embedded in a plane

Calling Sequence

Contains(pl1, pl2)

Parameters

pl1, pl2

-

list, Line, Plane ; points or Line or Plane objects defined by Student[MultivariateCalculus].

Returns

• 

truefalse ; whether the first argument contains the second argument

Description

• 

The Contains command tests if all of the points in the second object are in the first object. Typically, it tests if a Line or Plane contains a given point, or if a Plane contains a given Line.

Examples

withStudent[MultivariateCalculus]:

l1:=Line0,4,2,1,1,1:

Containsl1,1,5,3

true

(1)

Containsl1,0,0,0

false

(2)

p1:=Plane0,4,2,5,9,7,1,6,3:

Containsp1,l1

true

(3)

Containsp1,0,0,0

false

(4)

Line l2 is not embedded in the Plane p1 because they intersect in a point only.

l2:=Line0,1,1,4,2,6:

Containsp1,l2

false

(5)

GetIntersectionl2,p1

65,85,45

(6)

See Also

Student[MultivariateCalculus], Student[MultivariateCalculus][Line], Student[MultivariateCalculus][Plane], Student[MultivariateCalculus][Intersects] Student[MultivariateCalculus][GetIntersection]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam