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

7e82ace2 f647 1020 bca0 30f524e26191

haplokuon edited this page May 6, 2023 · 1 revision

SquareDistance Method

netDxf 3.0.0 Library

Obtains the square distance between two points.

Definition

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

C#

public static double SquareDistance(
	Vector4 u,
	Vector4 v
)

VB

Public Shared Function SquareDistance ( 
	u As Vector4,
	v As Vector4
) As Double

C++

public:
static double SquareDistance(
	Vector4 u, 
	Vector4 v
)

F#

static member SquareDistance : 
        u : Vector4 * 
        v : Vector4 -> float 

Parameters

  Vector4
Vector4.
  Vector4
Vector4.

Return Value

Double
Square distance.

See Also

Reference

Vector4 Structure
netDxf Namespace

Clone this wiki locally