PolyhedralSets
AffineHull
affine hull of a polyhedral set
Calling Sequence
Parameters
Description
Examples
Compatibility
AffineHull(polyset)
polyset
-
polyhedral set
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.
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
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
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
IsEmpty⁡ps2
true
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]
Download Help Document