Class SearchGridNode
Search grid node.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class SearchGridNode : SearchNode
Constructors
SearchGridNode(PointF)
Initializes a new instance of the SearchGridNode class.
Declaration
public SearchGridNode(PointF ptLocation)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | ptLocation | The point location. |
Methods
CalcHeuristicCost(SearchNode)
Calculates the heuristic cost.
Declaration
protected override float CalcHeuristicCost(SearchNode nodeTo)
Parameters
Type | Name | Description |
---|---|---|
SearchNode | nodeTo | The node to. |
Returns
Type | Description |
---|---|
System.Single | The value. |
Overrides
CalcMoveCost(SearchNode)
Calcs the move cost.
Declaration
protected override float CalcMoveCost(SearchNode nodeFrom)
Parameters
Type | Name | Description |
---|---|---|
SearchNode | nodeFrom | The node from. |
Returns
Type | Description |
---|---|
System.Single | The value. |