Show / Hide Table of Contents

Class ChisledPathfinding

Inheritance
object
ChisledPathfinding
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public static class ChisledPathfinding

Methods

FindPath(IGrid, Cell, Cell, Func<Cell, bool>, Func<Step, float?>, 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, float?> stepLengths = null, Func<double> randomDouble = null)
Parameters
Type Name Description
IGrid grid
Cell src
Cell dest
Func<Cell, bool> isAccessible
Func<Step, float?> stepLengths
Func<double> randomDouble
Returns
Type Description
CellPath
In this article
Back to top Generated by DocFX