Table of Contents

Class GridBounds

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Discrete version of the U:Bounds class. Represents a axis-aligned cuboid with with vertices at grid points.

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

Constructors

GridBounds(GridPoint3, GridPoint3)

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(GridPoint3)

Determines whether this bounds contains the specified point.

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

Returns the bounding box of the union of the two given GridsBounds objects.