Node Class |
Namespace: Pathfinding
[SerializableAttribute] public class Node
The Node type exposes the following members.
Name | Description | |
---|---|---|
![]() | Node | |
![]() | Node(Single, Single, Single) |
Constructor.
|
![]() | Node(Vector3, Int32, ListInt32) | |
![]() | Node(Vector3, Int32, Int32) | |
![]() | Node(Single, Single, Single, Int32, Int32) |
Name | Description | |
---|---|---|
![]() | DontConnectSpecified | |
![]() | NeighborsSpecified | |
![]() | Passable | |
![]() | Position |
Gets/Sets the geographical position of the node.
|
![]() | X |
Gets X coordinate.
|
![]() | Y |
Gets Y coordinate.
|
![]() | Z |
Gets Z coordinate.
|
Name | Description | |
---|---|---|
![]() | ChangeXYZ |
Modifies X, Y and Z coordinates
|
![]() | Clone |
Returns a copy of this node.
|
![]() | Equals |
Object.Equals override.
Tells if two nodes are equal by comparing positions.
(Overrides ObjectEquals(Object).) |
![]() ![]() | Euclidian2DDistance | |
![]() ![]() | EuclidianDistance |
Returns the euclidian distance between two nodes : Sqrt(Dx²+Dy²+Dz²)
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode |
Object.GetHashCode override.
(Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | ManhattanDistance |
Returns the manhattan distance between two nodes : |Dx|+|Dy|+|Dz|
|
![]() ![]() | MaxDistanceAlongAxis |
Returns the maximum distance between two nodes : Max(|Dx|, |Dy|, |Dz|)
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | SquareEuclidian2DDistance | |
![]() ![]() | SquareEuclidianDistance |
Returns the square euclidian distance between two nodes : Dx²+Dy²+Dz²
|
![]() | ToString |
object.ToString() override.
Returns the textual description of the node.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
![]() | AlreadyVisited | |
![]() | DontConnect | |
![]() | Id | |
![]() | Neighbors |