MapWinGeoProc:Topology2D:Vector

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

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

Printable version | Disclaimers | Privacy policy

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

Methods

AddVectors Adds the vectors U and V using vector addition, which adds the corresponding components
Constructor This function has 6 overloads.
Copy Returns a new instance of the vector class with the same values as this object.
Cross Returns the cross product of this vector with the specified vector V. Given X and Y vectors, this creates a vector in the Z direction, so simply interpret the double value to be positive in the positive Z direction.
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 been overriden to compare the vectors in the mathematical sense. If the components of the vector are equal, then this will return true.
GetHashCode Returns a hash code, whatever that is.
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 Returns true if X and Y coordinates are equal
ExclusiveOr Returns the Cross Product of two vectors U and V
Inequality Returns true if X and Y coordinates are different
Multiply This function has 3 overloads.
Subtraction Subtracts Vector V from Vector U

Back to MapWinGeoProc.Topology2D

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGeoProc:Topology2D:Vector"

This page has been accessed 1,375 times. This page was last modified on 11 December 2006, at 03:15.