Student[MultivariateCalculus]
Contains
test if a point is on a line or a plane, or a line is embedded in a plane
Calling Sequence
Parameters
Returns
Description
Examples
Compatibility
Contains(pl1, pl2)
pl1, pl2
-
list, Line, Plane ; points or Line or Plane objects defined by Student[MultivariateCalculus].
truefalse ; whether the first argument contains the second argument
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.
with⁡StudentMultivariateCalculus:
l1≔Line⁡0,4,2,1,1,1:
Contains⁡l1,1,5,3
true
Contains⁡l1,0,0,0
false
p1≔Plane⁡0,4,2,5,9,7,−1,6,3:
Contains⁡p1,l1
Contains⁡p1,0,0,0
Line l2 is not embedded in the Plane p1 because they intersect in a point only.
l2≔Line⁡0,1,−1,4,2,6:
Contains⁡p1,l2
GetIntersection⁡l2,p1
65,85,45
The Student[MultivariateCalculus][Contains] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
Student[MultivariateCalculus][Line]
Student[MultivariateCalculus][Plane]
Student[MultivariateCalculus][Intersects]
Student[MultivariateCalculus][GetIntersection]
Download Help Document