PlaneSweep2d.Sweep Method

The sweep function tries to test as few objects for intersection as possible.
Public Function Sweep( _ 
ByVal callback As PlaneSweepDelegate, _ 
ByRef res As List(Of PlaneSweepIntersection) _ 
) As Boolean
This language is not supported or no code example is available.
public bool Sweep( 
PlaneSweepDelegate callback
ref List<PlaneSweepIntersection> res 
)
This language is not supported or no code example is available.
public:  
bool Sweep( 
PlaneSweepDelegate^ callback
List<PlaneSweepIntersection^>^& res 
)
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

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