Click or drag to resize

IShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp Interface

All Shape Info classes should implement this interface. This provides basic transformations and set operations to combine shape info instances.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 0, 0)]
public interface 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 IShapeInfoTShapeInfo, TGrid, TPoint, TVectorPoint, TShapeOp type exposes the following members.

Methods
  NameDescription
Public methodDifference
Provides a shape operator that will form the difference of the shape describe by this instance and the shape info generated by one of the shape functions of the shape operator returned by this function.
Public methodEndShape
This functions is called to end shape construction and returned a grid described by this shape info.
Public methodIntersection
Provides a shape operator that will form the intersection of the shape describe by this instance and the shape info generated by one of the shape functions of the shape operator returned by this function.
Public methodTranslate(TVectorPoint)
Public methodTranslate(Int32, Int32)
Public methodUnion
Provides a shape operator that will form the union of the shape describe by this instance and the shape info generated by one of the shape functions of the shape operator returned by this function.
Top
See Also