PlaneSweep2d.Sweep Method

The sweep function tries to test as few objects for intersection as possible.
public bool Sweep( 
   PlaneSweepDelegate callback
   ref List<PlaneSweepIntersection> res 
)

Parameters

callback
PlaneSweepDelegate

The callback function that actually handles the intersection logic.

res
List<PlaneSweepIntersection>

True if any intersection was found, otherwise false

Return Value

bool

.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