Node Class

Represents a point in space relative to the surface of the earth.

Definition

Namespace: InnerDrive.Geography
Assembly: InnerDrive.Geography (in InnerDrive.Geography.dll) Version: 5.2.9017.0
C#
[SerializableAttribute]
public class Node : IEquatable<Node>, IGeoLocatable, 
	ISerializable
Inheritance
Object    Node
Implements
IGeoLocatable, IEquatableNode, ISerializable

Constructors

NodeCreates a new instance of Node.
Node(Double, Double) Creates a new instance of Node.
Node(SerializationInfo, StreamingContext)Allows an object to control its own serialization and deserialization through binary and XML serialization.
Node(NullableLatitude, NullableLongitude, NullableLength) Creates a new instance of Node.

Properties

Elevation Gets the height of this Node relative to the earth's surface.
Latitude Gets the latitude of this Node.
Longitude Gets the longitude value of this Node.

Methods

Bearing(IGeoLocatable) Gets the directional bearing from this Node to another Node
Bearing(IGeoLocatable, IGeoLocatable) Gets the directional bearing from one Node to another.
Distance(IGeoLocatable) Gets the distance from this Node to another Node
Distance(IGeoLocatable, IGeoLocatable) Gets the distance from one Node to another.
Equals(Node) Indicates whether the current object is equal to another object of the same type.
Equals(Object) Determines whether the specified Object is equal to the current Node.
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ObjectGetHashCode)
GetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Gets the string representation of this Node.
(Overrides ObjectToString)

Operators

Equality(Node, Node) Compares two instances of Node for equality.
Inequality(Node, Node) Compares two instances of Node for inequality.

See Also