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

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

withPolyhedralSets:

Translate the cube by 4,4,4.

cExampleSets:-Cube

c{Coordinates:x1,x2,x3Relations:x31,x31,x21,x21,x11,x11

(1)

c_transTranslatec,4,4,4

c_trans{Coordinates:x1,x2,x3Relations:x3−3,x35,x2−3,x25,x1−3,x15

(2)

Plotc,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.