MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

MapWinGeoProc:Topology:Vector

From MapWindow GIS

Jump to: navigation, search

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

Retrieved from "http://www.mapwindow.org/wiki/index.php/MapWinGeoProc:Topology:Vector"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: November 12 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links