Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 794 Bytes

File metadata and controls

35 lines (18 loc) · 794 Bytes

nusamai-geometry

A compact, zero-copy geometry representation.

This library avoids using jagged arrays (i.e. Vector of Vector of ...) to represent MultiPolygon/Polygon/etc.

Visual examples of the data structure

LineString

LineString

Polygon

Polygon

Polygon with a hole

Polygon with a hole

Polygon with multiple holes

Polygon with multiple holes

MultiPolygon

MultiPolygon

MultiPolygon with holes

MultiPolygon with holes

Multiple polygons, multiple holes

Multiple polygons, multiple holes