# MapWinGeoProc:Topology:Vector

This is a back-up of the WIKI.
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

## Vector

Summary

Contains a magnitude and direction Supports more fundamental calculations than Segment, rather than topological functions

Fields

 X The X component of the vector Y The Y component of the vector Z The Z component of the vector

Methods

 AddVectors Adds the vectors U and V using vector addition, which adds the corresponding components Constructor This function has 7 overloads. Cross Returns the cross product of this vector with the specified vector V CrossProduct Returns the Cross Product of two vectors U and V DividedBy This function has 2 overloads. DivideVectors This function has 2 overloads. Dot Returns the dot product of this vector with V2 DotProduct Returns the Inner Product also known as the dot product of two vectors, U and V Equals This function has 2 overloads. GetHashCode Returns the hash code.. or something IntersectsWith Compares the values of each element, and if all the elements are equal, returns true. Minus Subtracts each element of V from each element of this vector MultiplyVectors Multiplies each component of vector U by the Scalar value Plus Adds each of the elements of V to the elements of this vector SubtractVectors Subtracts Vector V from Vector U Times This function has 2 overloads. ToMWPoint A MapWinGIS.Point Representing the tip of the vector, where the beginning of the vector is at the origin /// ToPoint Assuming the vector starts at the origin of 0,0,0, this function returns a Point representing the tip of the vector. ToSegment Returns a new segment from this vector, where the StartPoint is 0, 0, 0 and the End Point is the tip of this vector

Operators

 Addition Adds the vectors U and V using vector addition, which adds the corresponding components Division This function has 2 overloads. Equality Tests equality ExclusiveOr Returns the Cross Product of two vectors U and V Inequality Tests equality Multiply This function has 3 overloads. Subtraction Subtracts Vector V from Vector U

Back to MapWinGeoProc.Topology