wall.addfacet

Syntax

f = wall.addfacet(w,v,a)

Add a facet. The proposed facet must share {a vertex in 2D; an edge in 3D} with an existing facet.

Returns:

f - facet pointer

Arguments:

w - wall pointer

v - vertex position

a - In 2D, either the additional vertex position or a pointer to an existing vertex can be specified. In 3D, any mixture of vertex positions and pointers to existing vertices can be specified.