if (npoint < 3)
return;
ntri = npoint - 2;
tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
if (!tris)
for (tri = tris; npoint >= 3; npoint--, points++, tri++)
first = points++;