MapWinGeoProc:Topology2D:Vector
From MapWindow GIS
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 |
















