Calculates the scalar product between two vectors

Namespace:  GLSV
Assembly:  GLSV (in GLSV.dll) Version: 1.2009.6.26 (1.2009.06.26)

Syntax

C#
public static double ScalarProduct(
	XYZ p1,
	XYZ p2
)
Visual Basic (Declaration)
Public Shared Function ScalarProduct ( _
	p1 As XYZ, _
	p2 As XYZ _
) As Double
Visual C++
public:
static double ScalarProduct(
	XYZ^ p1, 
	XYZ^ p2
)

Parameters

p1
Type: GLSV..::.XYZ
XYZ vector
p2
Type: GLSV..::.XYZ
XYZ vector

Return Value

Returns the scalar product

See Also