GCurve.MinimumDistance (GCurve, GCurve, Double, Boolean, ref Double, ref Double, out Double) Method

Computes the minimum distance between two curves.
Public Shared Function MinimumDistance( _ 
ByVal F As GCurve, _ 
ByVal G As GCurve, _ 
ByVal tol As Double, _ 
ByVal allowOutside As Boolean, _ 
ByRef u As Double, _ 
ByRef s As Double, _ 
ByRef distance As Double
) As Boolean
This language is not supported or no code example is available.
public static bool MinimumDistance( 
GCurve F
GCurve G
double tol
bool allowOutside
ref double u
ref double s
out double distance 
)
This language is not supported or no code example is available.

Parameters

F
GCurve

First curve

G
GCurve

Second curve

tol
double

Tolerance

allowOutside
bool

If true result could be outside of the curve

u
double

Initial guess on F curve domain

s
double

Initial guess on G curve domain

distance
double

The resulting minimum distance

Return Value

bool

True if the operation was successful, false otherwise.

.NET Framework

Supported in: 4.7.2

In this article

Definition