Class AStarNode
Represents an instance of the Node class that is used by the AStarRouter.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core.Routing.AStar
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class AStarNode
Constructors
AStarNode(Point, Boolean, Boolean)
Initializes a new instance of the AStarNode class.
Declaration
public AStarNode(Point point, bool isStartOrEndWall, bool isWall)
Parameters
System.Windows.Point
point
The point. |
System.Boolean
isStartOrEndWall
The is start wall. |
System.Boolean
isWall
The is wall. |
Properties
F
Gets or sets the whole path length through this point. This is the sum of G and H.
Declaration
public double F { get; set; }
Property Value
System.Double
|
G
Gets or sets the actual distance from the start to the current point in the search.
Declaration
public double G { get; set; }
Property Value
System.Double
|
H
Gets or sets the heuristic distance to the endpoint or goal. The smaller the value the closer to the goal.
Declaration
public double H { get; set; }
Property Value
System.Double
|
IsOpen
Gets or sets the is open.
Declaration
public bool IsOpen { get; set; }
Property Value
System.Boolean
The is open. |
IsSegmentOverlap
Gets or sets whether this node is over an existing connection segment.
Declaration
public bool IsSegmentOverlap { get; set; }
Property Value
System.Boolean
|
IsStartOrEndWall
Gets or sets whether this node is a start or end wall.
Declaration
public bool IsStartOrEndWall { get; }
Property Value
System.Boolean
The is start wall. |
IsWall
Gets or sets whether this node is wall.
Declaration
public bool IsWall { get; }
Property Value
System.Boolean
The is wall. |
Position
Gets or sets the position.
Declaration
public Point Position { get; }
Property Value
System.Windows.Point
The position. |