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

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

AffineHull

  

affine hull of a polyhedral set

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

AffineHull(polyset)

Parameters

polyset

-

polyhedral set

Description

• 

This command computes the affine hull for the given polyhedral set polyset, returning the result as a new PolyhedralSet.

• 

The affine hull of a line segment is the whole line and that of a 2-D face in a 3-D space is the plane containing the face.

Examples

> 

with⁡PolyhedralSets:

Construct a 2-D triangle in 3-D space

> 

ps1≔PolyhedralSet⁡1,0,0,0,1,0,0,0,1

ps1≔{Coordinates:x1,x2,x3Relations:−x3≤0,−x2≤0,x2+x3≤1,x1+x2+x3=1

(1)

Compute its affine hull, which is the plane passing through all of its vertices

> 

aff_ps1≔AffineHull⁡ps1

aff_ps1≔{Coordinates:x1,x2,x3Relations:x1+x2+x3=1

(2)
> 

Plot⁡ps1,aff_ps1

The affine hull of an empty set is also an empty set

> 

ps2≔PolyhedralSet⁡1≤0,x:aff_ps2≔AffineHull⁡ps2

aff_ps2≔{Coordinates:xRelations:0≤−1

(3)
> 

IsEmpty⁡ps2

true

(4)

Compatibility

• 

The PolyhedralSets[AffineHull] command was introduced in Maple 2015.

• 

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

See Also

PolyhedralSets[CharacteristicCone]

PolyhedralSets[ConvexHull]

PolyhedralSets[LinearitySpace]

PolyhedralSets[PolyhedralSet]

PolyhedralSets