Method Exclude
Exclude(IEnumerable<StraightLine>, Point, int, Orientation)
Splits or removes all lines in the collection
such that none cover the given exclusion
area.
public static IEnumerable<StraightLine> Exclude(this IEnumerable<StraightLine> collection, Point start, int length, Orientation orientation)
Parameters
collection
IEnumerable<StraightLine>Lines to adjust
start
PointFirst point to remove from collection
length
intThe number of sequential points to exclude
orientation
OrientationOrientation of the exclusion line