Function: triangulateRectangle()
triangulateRectangle(
uMin,vMin,uMax,vMax):InitialTriangulation
Defined in: delatin.ts:80
Triangulate an axis-aligned UV rectangle [uMin, vMin]–[uMax, vMax] into an
InitialTriangulation (4 corner vertices, 2 triangles sharing the
p0–p3 diagonal).
Seeding RasterReprojector with a sub-rectangle confines the mesh to that region — e.g. to clamp an image's mesh to the valid Web Mercator latitude band (see #182 / #351), pass that band's UV bounds.
Parameters
uMin
number
vMin
number
uMax
number
vMax
number