public TShapeInfo MakeShapeStorageInfo <TPoint>(IntRect storageRect, Func <TPoint, bool> isInside) { var shapeInfo = (TShapeInfo)(object)new ShapeStorageInfo <TPoint>(storageRect, isInside); return(MakeShapeStorageInfo(shapeInfo)); }
public ShapeStorageInfo(IntRect storageRect, Func <TPoint, bool> contains) { this.storageRect = storageRect; this.contains = contains; }
public IntRect Difference(IntRect otherRect) { // Not tight return this; }