project_triangles_latlon

giant.coverage.utilities.project_triangles_latlon:

giant.coverage.utilities.project_triangles_latlon.project_triangles_latlon(vertices, facets)[source]

This helper function project 3d triangles into 2d triangles on a lat/lon projection.

Parameters:
  • vertices (ndarray[tuple[Any, ...], dtype[float64]]) – The vertices of the shape model

  • facets (ndarray[tuple[Any, ...], dtype[integer]]) – the facet map for the triangles

Returns:

The triangles projected using lattitude/longitude accounting for wrapping as a tuple of 2 nx3 arrays lat, lon

Return type:

tuple[ndarray[tuple[Any, …], dtype[float64]], ndarray[tuple[Any, …], dtype[float64]]]