Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

037651e9 d61b 7ad6 3013 a40d79528cee

haplokuon edited this page May 6, 2023 · 1 revision

DotProduct Method

netDxf 3.0.0 Library

Obtains the dot product of two vectors.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static double DotProduct(
	Vector2 u,
	Vector2 v
)

VB

Public Shared Function DotProduct ( 
	u As Vector2,
	v As Vector2
) As Double

C++

public:
static double DotProduct(
	Vector2 u, 
	Vector2 v
)

F#

static member DotProduct : 
        u : Vector2 * 
        v : Vector2 -> float 

Parameters

  Vector2
Vector2.
  Vector2
Vector2.

Return Value

Double
The dot product.

See Also

Reference

Vector2 Structure
netDxf Namespace

Clone this wiki locally