shortestPathLength

fun shortestPathLength(from: Voxel, to: Voxel, heuristic: (current: Voxel, target: Voxel) -> Double = VoxelHeuristics.ZERO): Double(source)

Convenience accessor: total weighted cost from from to to, or Double.POSITIVE_INFINITY if unreachable. Returns 0.0 for the self-path.