Click or drag to resize

Node Class

Basically a node is defined with a geographical position in space. It is also characterized with both collections of outgoing arcs and incoming arcs.
Inheritance Hierarchy
SystemObject
  PathfindingNode

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
[SerializableAttribute]
public class Node

The Node type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDontConnectSpecified
Public propertyNeighborsSpecified
Public propertyPassable
Public propertyPosition
Gets/Sets the geographical position of the node.
Public propertyX
Gets X coordinate.
Public propertyY
Gets Y coordinate.
Public propertyZ
Gets Z coordinate.
Top
Methods
  NameDescription
Public methodChangeXYZ
Modifies X, Y and Z coordinates
Public methodClone
Returns a copy of this node.
Public methodEquals
Object.Equals override. Tells if two nodes are equal by comparing positions.
(Overrides ObjectEquals(Object).)
Public methodStatic memberEuclidian2DDistance
Public methodStatic memberEuclidianDistance
Returns the euclidian distance between two nodes : Sqrt(Dx²+Dy²+Dz²)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Object.GetHashCode override.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberManhattanDistance
Returns the manhattan distance between two nodes : |Dx|+|Dy|+|Dz|
Public methodStatic memberMaxDistanceAlongAxis
Returns the maximum distance between two nodes : Max(|Dx|, |Dy|, |Dz|)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSquareEuclidian2DDistance
Public methodStatic memberSquareEuclidianDistance
Returns the square euclidian distance between two nodes : Dx²+Dy²+Dz²
Public methodToString
object.ToString() override. Returns the textual description of the node.
(Overrides ObjectToString.)
Top
Fields
See Also