Expand description
Generic polygon container with orientation, mirroring the C++ Polygon.
Port of cpp/include/ndsmath/polygon.h and the Python reference
python/src/ndslive/math/polygon.py. The C++ class is a template over a
vertex container; here it is specialized directly to a Vec of
crate::Wgs84 vertices. Orientation is computed on the raw (lon, lat)
plane (no WGS84 normalization, no antimeridian handling).
Structs§
- Polygon
- A set of vertices with a topology type and orientation query.
Enums§
- Orientation
- Winding order of a polygon. Integer values match the C++ enum.
- Polygon
Type - Polygon topology. Integer values match the C++ enum.