Click or drag to resize

AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp Class

The base class of shape info classes
Inheritance Hierarchy
SystemObject
  Gamelogic.GridsAbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp
    More...

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 0, 0)]
public abstract class AbstractShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp> : IShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp>
where TShapeInfo : Object, IShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp>
where TGrid : Object, IGridSpace<TPoint>
where TPoint : Object, ISplicedVectorPoint<TPoint, TVectorPoint>, IGridPoint<TPoint>
where TVectorPoint : Object, IVectorPoint<TVectorPoint>

Type Parameters

TShapeInfo
TGrid
TPoint
TVectorPoint
TShapeOp

The AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyShapeStorageStorageInfo
Top
Methods
  NameDescription
Protected methodArrayPointFromGridPoint
Public methodDifference
Public methodEndShape
Public methodEquals (Inherited from Object.)
Public methodFilter
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodGridPointFromArrayPoint
Public methodIf
Public methodIfTranslate
Public methodIntersection
Protected methodMakeOp
Protected methodMakePoint
Protected methodMakeShape
Protected methodMakeShapeInfo
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSymmetricDifference
Calculates the symmetric difference of all storged shape info.
Public methodToString (Inherited from Object.)
Public methodTranslate(TVectorPoint)
Assumption: ArrayFromGridPoint(p1 + offset) == ArrayFromGridPoint(p1) + ArrayFromGridPoint(offset)
Public methodTranslate(Int32, Int32)
Public methodUnion
Top
Fields
  NameDescription
Protected fieldshapeStorageStorageInfo
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also
Inheritance Hierarchy
SystemObject
  Gamelogic.GridsAbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp
    Gamelogic.GridsAbstractSplicedShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp
    Gamelogic.GridsDiamondShapeInfoTCell
    Gamelogic.GridsFlatHexShapeInfoTCell
    Gamelogic.GridsLineShapeInfoTCell
    Gamelogic.GridsPointyHexShapeInfoTCell
    Gamelogic.GridsRectShapeInfoTCell