BumpDistance.Distance Method

moving is bumped in the direction angle against stationary
public static double Distance( 
   List<Poly2d> moving
   List<Poly2d> stationary
   double angle
   double maxdist
   DrawArcDelegate drawarc 
)

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