Click or drag to resize

FlatRhombShapeInfoTCell Class

Provides the implementation for AbstractSplicedShapeInfo to be used with FlatRhombGrid.
Inheritance Hierarchy
SystemObject
  Gamelogic.GridsAbstractShapeInfoFlatRhombShapeInfoTCell, FlatRhombGridTCell, FlatRhombPoint, FlatHexPoint, FlatRhombOpTCell
    Gamelogic.GridsAbstractSplicedShapeInfoFlatRhombShapeInfoTCell, FlatRhombGridTCell, FlatRhombPoint, FlatHexPoint, FlatRhombOpTCell
      Gamelogic.GridsFlatRhombShapeInfoTCell

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class FlatRhombShapeInfo<TCell> : AbstractSplicedShapeInfo<FlatRhombShapeInfo<TCell>, FlatRhombGrid<TCell>, FlatRhombPoint, FlatHexPoint, FlatRhombOp<TCell>>

Type Parameters

TCell

The FlatRhombShapeInfoTCell 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 FlatRhombOp 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 methodIncIndex
This increments the index part of the spliced points for this shape.
(Inherited from AbstractSplicedShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodIntersection (Inherited from AbstractShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp.)
Public methodInvertIndex
This inverts the index part of the spliced points for this part.
(Inherited from AbstractSplicedShapeInfoTShapeInfo, 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