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

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

Translate

  

translate a polyhedral set

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Translate(polyset, trans)

Parameters

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

Description

• 

This command translates the polyhedral set polyset according to trans.

Examples

> 

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

(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

(2)
> 

Plot⁡c,c_trans,orientation=20,78,0

Compatibility

• 

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

• 

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