Surface.MinimumDistance Method

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

Parameters

F
Surface

First surface

G
Surface

Second surface

tol
double

Tolerance

u
double

Initial guess on F surface U parametric direction

v
double

Initial guess on F surface V parametric direction

s
double

Initial guess on G surface U parametric direction

t
double

Initial guess on G surface V parametric direction

distance
double

The resulting minimum distance

Return Value

bool

True if the operation was successful, false otherwise.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition