BumpDistance.Distance Method

moving is bumped in the direction angle against stationary
Public Shared Function Distance( _ 
ByVal moving As List(Of Poly2d), _ 
ByVal stationary As List(Of Poly2d), _ 
ByVal angle As Double, _ 
ByVal maxdist As Double, _ 
ByVal drawarc As DrawArcDelegate
) As Double
This language is not supported or no code example is available.
public static double Distance( 
List<Poly2d> moving
List<Poly2d> stationary
double angle
double maxdist
DrawArcDelegate drawarc 
)
This language is not supported or no code example is available.
public:  
static double Distance( 
List<Poly2d^>^ moving
List<Poly2d^>^ stationary
double angle
double maxdist
DrawArcDelegate^ drawarc 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

moving
List<Poly2d>

Set of moving polys

stationary
List<Poly2d>

Set of stationary polys

angle
double

Angle of movement

maxdist
double

Max distanc of movement

drawarc
DrawArcDelegate

Debug callback

Return Value

double

The distance to move moving so it touches stationary.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition