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

Method getNodesAlongSegment

src/ts/impl/graph.ts:126–175  ·  view source on GitHub ↗

* Given a segment, step along segment and find all nodes along it

(segment: Segment, quadtree: d3.Quadtree<Node>, radius: number, step: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

constructorMethod · 0.95

Calls 8

cloneMethod · 0.95
fuzzySegmentsEqualMethod · 0.95
dotProductToSegmentMethod · 0.95
subMethod · 0.80
lengthMethod · 0.80
multiplyScalarMethod · 0.80
addAllMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected