Class ShapeStorageInfo<TPoint>
This class handles how the cells of a grid is represented in memeory. This class is used by shape info classes.
[Version(1, 0, 0)]
public class ShapeStorageInfo<TPoint>
Type Parameters
TPoint
- Inheritance
-
ShapeStorageInfo<TPoint>
- Inherited Members
- Extension Methods
Constructors
ShapeStorageInfo(IntRect, Func<TPoint, bool>)
public ShapeStorageInfo(IntRect storageRect, Func<TPoint, bool> contains)
Parameters
ShapeStorageInfo(int, int, Func<TPoint, bool>)
public ShapeStorageInfo(int width, int height, Func<TPoint, bool> contains)
Parameters
Fields
contains
public readonly Func<TPoint, bool> contains
Field Value
storageRect
public readonly IntRect storageRect
Field Value
Methods
Difference(ShapeStorageInfo<TPoint>)
public ShapeStorageInfo<TPoint> Difference(ShapeStorageInfo<TPoint> other)
Parameters
other
ShapeStorageInfo<TPoint>
Returns
- ShapeStorageInfo<TPoint>
Intersection(ShapeStorageInfo<TPoint>)
public ShapeStorageInfo<TPoint> Intersection(ShapeStorageInfo<TPoint> other)
Parameters
other
ShapeStorageInfo<TPoint>
Returns
- ShapeStorageInfo<TPoint>
SymmetricDifference(ShapeStorageInfo<TPoint>)
public ShapeStorageInfo<TPoint> SymmetricDifference(ShapeStorageInfo<TPoint> other)
Parameters
other
ShapeStorageInfo<TPoint>
Returns
- ShapeStorageInfo<TPoint>
Union(ShapeStorageInfo<TPoint>)
public ShapeStorageInfo<TPoint> Union(ShapeStorageInfo<TPoint> other)
Parameters
other
ShapeStorageInfo<TPoint>
Returns
- ShapeStorageInfo<TPoint>