Skip to content

Latest commit

 

History

History
 
 

nusamai-geometry

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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