TRIANGULATION 2D

Generates the simplicial partition of a bidimensional domain

Contents

Private method of pwas object.

Description

Given the vertices of the simplicial partition for each dimension, this function generates a [N x 3] face matrix TRI suited for use with trimesh and trisurf functions. Each row of TRI defines a single triangular face by indexing into the vectors or matrices that contain the X, Y, and Z vertices.

Syntax

TRI = triangulation2D(x1,x2)

x1 contains the vertices of the partition along the first dimension, x2 contains the vertices along the second dimension. TRI is the triangulation matrix.

Acknowledgements

Contributors:

Copyright is with: