Show / Hide Table of Contents

Class ChisledPathfinding

Inheritance
System.Object
ChisledPathfinding
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public static class ChisledPathfinding : Object

Methods

FindPath(IGrid, Cell, Cell, Func<Cell, Boolean>, Func<Step, Nullable<Single>>, Func<Double>)

Implements the chiseled paths algorith descibed here: https://www.boristhebrave.com/2022/03/20/chiseled-paths-revisited/

Declaration
public static CellPath FindPath(IGrid grid, Cell src, Cell dest, Func<Cell, bool> isAccessible = null, Func<Step, Nullable<float>> stepLengths = null, Func<double> randomDouble = null)
Parameters
Type Name Description
IGrid grid
Cell src
Cell dest
System.Func<Cell, System.Boolean> isAccessible
System.Func<Step, System.Nullable<System.Single>> stepLengths
System.Func<System.Double> randomDouble
Returns
Type Description
CellPath
In This Article
Back to top Generated by DocFX