triangulate

Purpose

Triangulation of a polyhedron.

Syntax

T = P.triangulate;
T = triangulate(P)

Description

The polyhedron ../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/triangulate1.png is split into an array of triangular ../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/triangulate2.png polyhedra that built a partition ../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/triangulate3.png. The triangulate function works over full-dimensional polyhedra, that are bounded and not empty.

Input Arguments

P

Polyhedron object.

Class: Polyhedron

Example(s)

Example 1

Create V-polyhedron
 P = 10*Polyhedron(randn(5,2)); 
 Generate the triangular partition
 T = P.triangulate; 
 Plot the triangulation. 
 T.plot 

../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/triangulate_img_1.png

See Also

minvrep, computevrep


© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch