OverScan2d<T> Class

Class to find overlapping bounding boxes. Replaces class BoundingBox2d with a simplified interface.
public class OverScan2d<T> 
   where T : IExtents2d

Type Parameters

T

Methods
 
Name Description
Public method Add(T, int, double) Adds an object to the scan process. Objects with same setIndex is not tested against each other. The boundingbox considered is grown with extraInflate so that nearby ojects can be found.
Public method FindOverlaps(OverScanCallback<T>) Finds all overlapping boundingboxes (with an optional tolerance), calling a callback for each of them. Returns true if the scan was breaked (that is if a callback return true)
Top
IGS.Genamo.OverScan2d<T>

.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