﻿GeoVector Members        The GeoVector type exposes the following members.

# Constructors

NameDescription GeoVector(GeoVector2D)
Constructs a new GeoVector from a 2d vector assumed in the xy plane GeoVector(SerializationInfo, StreamingContext)
Constructor required by deserialization GeoVector(Angle, Angle)
Constructs a new GeoVector with the given angles a longitude and latitude. The resulting GeoVector is normed. GeoVector(GeoPoint, GeoPoint)
Constructs a new GeoVector which points from the StartPoint to the EndPoint. GeoVector(Double, Double, Double)
Constructs a new GeoVector with the given components

# Methods

NameDescription  Bisector
Returns the bisector vector of the two provided vectors. The result will be normalized (length = 1)  Cos
Returns the cosine of the angle between the two vectors. Throws an arithmetic exception if any of the vectors is the nullvector. Equals
Overrides object.Equals.
(Overrides ValueType..::..Equals(Object).) GetHashCode
Overrides object.GetHashCode
(Overrides ValueType..::..GetHashCode()()()().) GetObjectData IsNullVector
Returns true, if this vector is exactly the nullvector. Use IsNullVector(GeoVector) if you need more control over precision. IsPerpendicular
Determins whether this vector and the othe vector are perpendicular. Use IsPerpendicular(GeoVector, GeoVector, Boolean) if you need more control over precision. Norm
Normalizes this vector. After this operation the vector will have the Length 1.0 Throws a GeoVectorException if the vector is the nullvector. NormIfNotNull Reverse
Reverses this vector. To2D
Returns the coresponding 2d vector by omitting the z coordinate ToString (Overrides ValueType..::..ToString()()()().)

# Operators

NameDescription  Addition  Division
Divides the given gevcor by the given double value.  Equality
Determins whether the given vectors are exactly equal. Use SameDirection(GeoVector, GeoVector, Boolean) if you need more control over precision.  ExclusiveOr
Cross product of the to vectors.  Inequality
Determins whether the given vectors are not exactly equal. Use SameDirection(GeoVector, GeoVector, Boolean) if you need more control over precision.  Multiply(Double, GeoVector)
Scales the given vector by the given double  Multiply(GeoVector, GeoVector)
Calculates the scalar product (dot product, inner product) of the two given vectors  Multiply(Matrix, GeoVector)  Subtraction
Subtracts the second vector from the first vector  UnaryNegation
Reverses the driection of the given vector

# Fields

NameDescription  NullVector
The nullvector, same as new GeoVector(0.0,0.0,0.0); x
x-component  XAxis
The x-axis, same as new GeoVector(1.0,0.0,0.0); y
y-component  YAxis
The y-axis, same as new GeoVector(0.0,1.0,0.0); z
z-component  ZAxis
The z-axis, same as new GeoVector(0.0,0.0,1.0);

# Properties

NameDescription Length
Returns the length of this vector. Normalized TaxicabLength