Click or drag to resize

RectShapeInfoTCell Class

Provides the implementation for AbstractShapeInfo to be used with RectGrid.
Inheritance Hierarchy
SystemObject
  Gamelogic.GridsAbstractShapeInfoRectShapeInfoTCell, RectGridTCell, RectPoint, RectPoint, RectOpTCell
    Gamelogic.GridsRectShapeInfoTCell

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class RectShapeInfo<TCell> : AbstractShapeInfo<RectShapeInfo<TCell>, RectGrid<TCell>, RectPoint, RectPoint, RectOp<TCell>>

Type Parameters

TCell

The RectShapeInfoTCell type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Protected methodArrayPointFromGridPoint (Overrides AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOpArrayPointFromGridPoint(TVectorPoint).)
Public methodDifference (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodEndGroup
Only call this method from within a RectOp method (usually, in client code, this will be in an extension). Since 1.1
Public methodEndShape (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodEquals (Inherited from Object.)
Public methodFilter (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodGridPointFromArrayPoint (Overrides AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOpGridPointFromArrayPoint(ArrayPoint).)
Public methodIf (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodIfTranslate (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodIntersection (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Protected methodMakeOp (Overrides AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOpMakeOp(ShapeStorageInfoTPoint, FuncShapeStorageInfoTPoint, ShapeStorageInfoTPoint, ShapeStorageInfoTPoint).)
Protected methodMakePoint (Overrides AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOpMakePoint(Int32, Int32).)
Protected methodMakeShape (Overrides AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOpMakeShape(Int32, Int32, FuncTPoint, Boolean, TVectorPoint).)
Protected methodMakeShapeInfo (Overrides AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOpMakeShapeInfo(ShapeStorageInfoTPoint).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSymmetricDifference
Calculates the symmetric difference of all storged shape info.
(Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodToString (Inherited from Object.)
Public methodTranslate(TVectorPoint)
Assumption: ArrayFromGridPoint(p1 + offset) == ArrayFromGridPoint(p1) + ArrayFromGridPoint(offset)
(Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodTranslate(Int32, Int32) (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodUnion (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Top
Fields
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also