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

1d47ec54 a61b 810d fb46 de33b48ba1e0

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(
	Vector3 u,
	Vector3 v
)

VB

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

C++

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

F#

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

Parameters

  Vector3
Vector3.
  Vector3
Vector3.

Return Value

Double
Square distance.

See Also

Reference

Vector3 Structure
netDxf Namespace

Clone this wiki locally