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

Computes the minimum distance between a curve and a surface
Public Shared Function MinimumDistance( _ 
ByVal C As Curve, _ 
ByVal S As Surface, _ 
ByVal tol As Double, _ 
ByVal allowOutside As Boolean, _ 
ByRef s As Double, _ 
ByRef u As Double, _ 
ByRef v As Double, _ 
ByRef distance As Double
) As Boolean
This language is not supported or no code example is available.
public static bool MinimumDistance( 
Curve C
Surface S
double tol
bool allowOutside
ref double s
ref double u
ref double v
out double distance 
)
This language is not supported or no code example is available.

Parameters

C
Curve

The curve

S
Surface

The surface

tol
double

Tolerance

allowOutside
bool

If true result could be outside of the curve

s
double

Initial guess on C curve

u
double

Initial guess on S surface U parametric direction

v
double

Initial guess on S surface U parametric direction

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