ClassAStarNode
Represents an instance of the Node class that is used by the AStarRouter.
Definition
Namespace:Telerik.Windows.Diagrams.Core.Routing.AStar
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public class AStarNode
Inheritance: objectAStarNode
Constructors
AStarNode(Point, bool, bool)
Initializes a new instance of the AStarNode class.
Properties
F
Gets or sets the whole path length through this point. This is the sum of G and H.
Declaration
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "F")]
public double F { get; set; }
Property Value
G
Gets or sets the actual distance from the start to the current point in the search.
Declaration
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "G")]
public double G { get; set; }
Property Value
H
Gets or sets the heuristic distance to the endpoint or goal. The smaller the value the closer to the goal.
Declaration
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "H")]
public double H { get; set; }
Property Value
IsOpen
Gets or sets the is open.
IsSegmentOverlap
Gets or sets whether this node is over an existing connection segment.
IsStartOrEndWall
Gets or sets whether this node is a start or end wall.
Declaration
public bool IsStartOrEndWall { get; }
Property Value
The is start wall.
IsWall
Gets or sets whether this node is wall.
Position
Gets or sets the position.
Declaration
public Point Position { get; }
Property Value
Point
The position.