zone.tri.gp

Syntax

l := zone.tri.gp(z<,ioverlay><,itri>) (2D ONLY)

Gets a list of the gridpoint pointers associated with one or more triangles of a zone.

If ioverlay is specified (an integer from 1 to 2) then only the grid points of the triangle of that overlay are returned. If itri is specified as well, then only the grid points of that specific triangle is returned.

If more than one triangle is indicated (the default), then the return value is a list of lists. Each entry in the list is itself list of three grid point pointers, indicating the three grid points that make up each triangle.

The gridpoints numbering is counterclockwise.

If both an overlay and a tri index are specified, then a single list of three grid point pointers for a single triangle will be returned.

See the functions zone.overlays and zone.tri.num.

Returns:

l - A list of grid point pointers for each triangle.

Arguments:

z - a zone pointer

ioverlay - the overlay index, from 1 to 2

itri - the triangle index, from 1 to a maximum of 2