MapWinGIS:Vector CrossProduct

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

CrossProduct

Calculates the vector cross product between the current vector object and the specified vector.


VB.NET Usage

Function CrossProduct(V As MapWinGIS.Vector) As MapWinGIS.Vector

            Parameters

V

The vector to calculate the cross product with the current vector object.
ReturnValue The cross product of the current vector object and the specified vector.

Sample Code

    Private Sub VectorCrossProduct()
        Dim vector As New MapWinGIS.Vector(), vector2 As New MapWinGIS.Vector(), crossproduct As New MapWinGIS.Vector()
        'Get the cross product of vector and vector2
        crossproduct = vector.CrossProduct(vector2)
    End Sub
  

VB 6 Usage
Function CrossProduct(V As Vector) As Vector
            Parameters

V

The vector to calculate the cross product with the current vector object.
ReturnValue The cross product of the current vector object and the specified vector.

Sample Code

    Private Sub VectorCrossProduct()
        Dim vector As New MapWinGIS.vector, vector2 As New MapWinGIS.vector, crossproduct As New MapWinGIS.vector
        'Get the cross product of vector and vector2
        crossproduct = vector.crossproduct(vector2)
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Vector_CrossProduct"

This page has been accessed 1,409 times. This page was last modified on 9 November 2005, at 17:15.