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

Online Help

All Products    Maple    MapleSim


Student[MultivariateCalculus]

  

GetIntersection

  

obtain the intersection of lines or planes

 

Calling Sequence

Parameters

Returns

Description

Examples

Compatibility

Calling Sequence

GetIntersection(pl1, pl2)

Parameters

pl1, pl2

-

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

Returns

• 

the empty set, ∅, if the lines or planes don't intersect.

• 

a list of coordinate values, if the intersection is a point.

• 

a Line or Plane object, if that is the intersection.

Description

• 

The GetIntersection command obtains the intersection of two point, Line, or Plane objects as understood by the Student[MultivariateCalculus] package.

• 

The Intersects command can be used to test if lines and/or planes intersect.

• 

The empty set, denoted by ∅, is returned if the lines or planes do not intersect.

• 

If one object is contained in another, then their intersection is the smaller object. In particular, the intersection of any object A with itself is that object A.

Examples

> 

with⁡StudentMultivariateCalculus:

> 

l1≔Line⁡0,2,6,10,15,20:

> 

l2≔Line⁡−3,7,3,2,3,4:

> 

AreParallel⁡l1,l2

true

(1)
> 

Intersects⁡l1,l2

false

(2)
> 

GetIntersection⁡l1,l2

∅

(3)
> 

p1≔Plane⁡0,3,1,0,3,2:

> 

p2≔Plane⁡−4,1,3,0,3,2:

> 

Intersects⁡p1,p2

false

(4)
> 

GetIntersection⁡p1,p2

∅

(5)
> 

Intersects⁡p1,l2

true

(6)
> 

GetIntersection⁡p1,l2

−8317,7117,−1317

(7)
> 

Intersects⁡l1,p2

true

(8)
> 

GetIntersection⁡p2,l1

−1817,717,6617

(9)
> 

p3≔Plane⁡0,0,0,3,3,1:

> 

Intersects⁡p1,p3

true

(10)
> 

l3≔GetIntersection⁡p1,p3:

> 

GetDirection⁡l3

−36−9

(11)
> 

GetPoint⁡l3

−12142,4421,3314

(12)

Compatibility

• 

The Student[MultivariateCalculus][GetIntersection] command was introduced in Maple 17.

• 

For more information on Maple 17 changes, see Updates in Maple 17.

See Also

Student[MultivariateCalculus]

Student[MultivariateCalculus][Line]

Student[MultivariateCalculus][Plane]

Student[MultivariateCalculus][AreParallel]

Student[MultivariateCalculus][AreSkew]

Student[MultivariateCalculus][Contains]

Student[MultivariateCalculus][Intersects]