GSurface.MinimumDistance (GCurve, GSurface, Double, 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 GCurve, _ 
ByVal S As GSurface, _ 
ByVal tol As Double, _ 
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( 
GCurve C
GSurface S
double tol
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
GCurve

The curve

S
GSurface

The surface

tol
double

Tolerance

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

In this article

Definition