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

Computes the minimum distance between two curves.
Public Shared Function MinimumDistance( _ 
ByVal F As Curve, _ 
ByVal G As Curve, _ 
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( 
Curve F
Curve 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
Curve

First curve

G
Curve

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.8

In this article

Definition