Log inGet started
Package

cityGen.package

This package holds more than this page lists. See all of its files in its world.

README.md

geo

This module provides fundamental plane geometry operations used across all city generation stages. It includes functions for seeded random draws, value noise, point and polyline manipulation (distance, length, resampling, simplification, relaxation), polygon operations (area, centroid, point-in-polygon, outline distance), and data structures like a hash grid and a binary min-heap. It also handles reading and writing curves and points from and to procgen Geometry assets. It is called by all city generation modules that require geometric calculations.