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

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

SplitIntoSimplices

  

split a polyhedral set into simplices

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

SplitIntoSimplices(polyset)

SplitIntoSimplices(polyset, point)

Parameters

polyset

-

polyhedral set

point

-

polyhedral set representing a vertex, list of rationals, Vector or list/set of equations of the form coordinate = value; point where polyset will be split

Description

• 

This command splits the polyhedral set polyset into simplices, returning a list of polyhedral sets whose union is polyset. Only bounded polyhedral sets, that is to say polytopes, can be divided into simplices.

• 

If point is provided, it will be a vertex of all the simplices when polyset is split. If point is omitted, an arbitrary vertex of polyset is chosen for the splitting point.

Examples

withPolyhedralSets:

Splitting the cube into simplices gives a list of tetrahedrons.

cExampleSets:-Cube:

c_piecesSplitIntoSimplicesc

c_pieces{Coordinates:x1,x2,x3Relations:x31,x2+x30,x1+x20,x11,{Coordinates:x1,x2,x3Relations:x21,x2x30,x1+x30,x11,{Coordinates:x1,x2,x3Relations:x31,x21,x1+x30,x1x20,{Coordinates:x1,x2,x3Relations:x2+x30,x21,x11,x1x30,{Coordinates:x1,x2,x3Relations:x31,x21,x1+x20,x1x30,{Coordinates:x1,x2,x3Relations:x31,x2x30,x11,x1x20

(1)

The volume of the cube is equal to the sum of the volume of the simplices.

Volumec

8

(2)

volumesmapVolume,c_pieces

volumes43,43,43,43,43,43

(3)

`+`volumes

8

(4)

Plot the simplices with transparency to see the internal structure of the sets.

Plotc_pieces,transparency=0.5,orientation=23,62,0

Compatibility

• 

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

• 

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

See Also

PolyhedralSets

PolyhedralSets[PolyhedralSet]