Table of Contents

Class AbstractSplicedShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

This is the base class of all ShapeInfo classes for spliced grids.

[Version(1, 0, 0)]
public abstract class AbstractSplicedShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp> : AbstractShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp>, IShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp> where TShapeInfo : IShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp> where TGrid : IGridSpace<TPoint> where TPoint : ISplicedVectorPoint<TPoint, TVectorPoint>, ISplicedPoint<TPoint, TVectorPoint> where TVectorPoint : IVectorPoint<TVectorPoint>, IGridPoint<TVectorPoint>

Type Parameters

TShapeInfo
TGrid
TPoint
TVectorPoint
TShapeOp
Inheritance
AbstractShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp>
AbstractSplicedShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp>
Implements
IShapeInfo<TShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp>
Derived
Inherited Members
Extension Methods

Constructors

AbstractSplicedShapeInfo(ShapeStorageInfo<TPoint>)

Constructs a new instance wih the given sotrage information.

protected AbstractSplicedShapeInfo(ShapeStorageInfo<TPoint> info)

Parameters

info ShapeStorageInfo<TPoint>

Methods

IncIndex(int)

This increments the index part of the spliced points for this shape.

public TShapeInfo IncIndex(int indexOffset)

Parameters

indexOffset int

Returns

TShapeInfo

InvertIndex()

This inverts the index part of the spliced points for this part.

public TShapeInfo InvertIndex()

Returns

TShapeInfo