PolyhedralSets
Translate
translate a polyhedral set
Calling Sequence
Parameters
Description
Examples
Compatibility
Translate(polyset, trans)
polyset
-
polyhedral set
trans
polyhedral set representing a vertex, list of rationals, Vector or list/set of equations of the form coordinate = value; translation vector
This command translates the polyhedral set polyset according to trans.
with⁡PolyhedralSets:
Translate the cube by 4,4,4.
c ≔ ExampleSets:-Cube⁡
c≔{Coordinates:x1,x2,x3Relations:−x3≤1,x3≤1,−x2≤1,x2≤1,−x1≤1,x1≤1
c_trans ≔ Translate⁡c,4,4,4
c_trans≔{Coordinates:x1,x2,x3Relations:−x3≤−3,x3≤5,−x2≤−3,x2≤5,−x1≤−3,x1≤5
Plot⁡c,c_trans,orientation=20,78,0
The PolyhedralSets[Translate] command was introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
Download Help Document
What kind of issue would you like to report? (Optional)