Table of Contents

Class GridInterval

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Represents a discrete interval. This is the 1D version of GridRect and GridBounds.

[Serializable]
public class GridInterval : AbstractBounds<int>, IExplicitShape<int>, IImplicitShape<int>
Inheritance
GridInterval
Implements
Inherited Members
Extension Methods

Remarks

The interval is does not contain the point Extreme; it lies just outside the interval.

Constructors

GridInterval(int, int)

Properties

Extreme

Gets the extreme point of this AbstractBounds<TPoint>, lying on the opposite direction of Point. For discrete point types, this points fall just outside the bounds.

Points

Gets all the points that this bounds contains.

Methods

Contains(int)

Determines whether this bounds contains the specified point.

Dilate(AbstractBounds<int>)
Erode(AbstractBounds<int>)
Intersection(AbstractBounds<int>, AbstractBounds<int>)
Translate(AbstractBounds<int>, int)
UnionBoundingBox(AbstractBounds<int>, AbstractBounds<int>)