User Tools

Site Tools


api:dk11:delphi:gismatrix.gisdotproduct_tgis_vector_tgis_vector

Table of Contents

GisDotProduct method

DK11 for Delphi | GisMatrix.GisDotProduct | Methods | Classes | Types

Dot (inner, scalar) product of two vectors.

Syntax

// Delphi
function GisDotProduct(
  const _v1 : TGIS_Vector;
  const _v2 : TGIS_Vector
) : Double;
// C++ Builder
extern DELPHI_PACKAGE double GisDotProduct(
  TGIS_Vector* const _v1,
  TGIS_Vector* const _v2
);

Parameters

Name Type Description
_v1 TGIS_Vector the first vector
_v2 TGIS_Vector the second vector

Result

Type Description
Double The result of dot product.
2017/09/04 11:17