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