FlowField3D

constructor(graph: VoxelGraph, sources: Set<Voxel>, cellSize: Double = Defaults.cellSize, origin: Point3D = Defaults.origin)(source)

Parameters

graph

the underlying 3D lattice

sources

voxels treated as goals (distance = 0). Must not be empty.

cellSize

side length of each voxel in continuous space. Must be positive.

origin

continuous-space anchor of voxel (0, 0, 0)'s lower-left-bottom corner.