MCPcopy Create free account
hub / github.com/ProbableTrain/MapGenerator / constructor

Method constructor

src/ts/impl/graph.ts:53–108  ·  view source on GitHub ↗

* Create a graph from a set of streamlines * Finds all intersections, and creates a list of Nodes

(streamlines: Vector[][], dstep: number, deleteDangling=false)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

streamlinesToSegmentMethod · 0.95
addSegmentMethod · 0.95
vectorsToSegmentMethod · 0.95
fuzzyAddToQuadtreeMethod · 0.95
getNodesAlongSegmentMethod · 0.95
deleteDanglingNodesMethod · 0.95
addNeighborMethod · 0.80

Tested by

no test coverage detected