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

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

withPolyhedralSets:

Construct a 2-D triangle in 3-D space

ps1PolyhedralSet1,0,0,0,1,0,0,0,1

ps1{Coordinates:x1,x2,x3Relations:x30,x20,x2+x31,x1+x2+x3=1

(1)

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

aff_ps1AffineHullps1

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

(2)

Plotps1,aff_ps1

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

ps2PolyhedralSet10,x:aff_ps2AffineHullps2

aff_ps2{Coordinates:xRelations:0−1

(3)

IsEmptyps2

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