Click or drag to resize

SplicedGridTCell, TBasePoint Class

A SplicedGrid is a grid formed from another grid, where each cell is "spliced" in a certain number of cells. For example, a triangular grid can be implemented as a diamond grid where each diamond cell is spliced into two triangles.
Inheritance Hierarchy
SystemObject
  Gamelogic.GridsSplicedGridTCell, TBasePoint

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class SplicedGrid<TCell, TBasePoint> : IGrid<TCell, SplicedPoint<TBasePoint>>, 
	IGrid<SplicedPoint<TBasePoint>>, IGridSpace<SplicedPoint<TBasePoint>>, 
	IEnumerable<SplicedPoint<TBasePoint>>, IEnumerable
where TBasePoint : Object, IGridPoint<TBasePoint>

Type Parameters

TCell
TBasePoint

The SplicedGridTCell, TBasePoint type exposes the following members.

Constructors
  NameDescription
Public methodSplicedGridTCell, TBasePoint
Constructs a new spliced grid from the given base grid, where each cell is divided into the number of splices given.
Top
Properties
  NameDescription
Public propertyItem
Public propertyValues
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodButFirstSplicedPointTBasePoint
Returns an enumerable of all elements of the given list but the first, keeping them in order.
(Defined by CollectionExtensions.)
Public Extension MethodButLastSplicedPointTBasePoint
Returns an enumerable of all elements in the given list but the last, keeping them in order.
(Defined by CollectionExtensions.)
Public Extension MethodCombinationsSplicedPointTBasePoint
Generates all combinations of m elements selected from the list.
(Defined by Combinatorial.)
Public Extension MethodListToStringSplicedPointTBasePoint
Returns a pretty string representation of the given list. The resulting string looks something like [a, b, c].
(Defined by CollectionExtensions.)
Public Extension MethodMaxBySplicedPointTBasePoint(FuncSplicedPointTBasePoint, IComparable)Overloaded.
Finds the maximum element in the source as scored by the given function.
(Defined by CollectionExtensions.)
Public Extension MethodMaxBySplicedPointTBasePoint, TKey(FuncSplicedPointTBasePoint, TKey)Overloaded.
Finds the minimum element in the source as scored by its projection.
(Defined by CollectionExtensions.)
Public Extension MethodMaxBySplicedPointTBasePoint, TKey(FuncSplicedPointTBasePoint, TKey, IComparerTKey)Overloaded.
Finds the minimum element in the source as scored by the given function applied to a projection on the elements.
(Defined by CollectionExtensions.)
Public Extension MethodMinBySplicedPointTBasePoint, TKey(FuncSplicedPointTBasePoint, TKey)Overloaded.
Finds the minimum element in the source as scored by its projection.
(Defined by CollectionExtensions.)
Public Extension MethodMinBySplicedPointTBasePoint, TKey(FuncSplicedPointTBasePoint, TKey, IComparerTKey)Overloaded.
Finds the minimum element in the source as scored by the given function applied to a projection on the elements.
(Defined by CollectionExtensions.)
Public Extension MethodPartitionsSplicedPointTBasePoint
Returns a list of all the partitions of a list.
(Defined by Combinatorial.)
Public Extension MethodPermutationsSplicedPointTBasePoint
Generates all permutations of the list of elements.
(Defined by Combinatorial.)
Public Extension MethodPowerSetSplicedPointTBasePoint
Returns the power set of the input, that is, the set of all subsets of the input.
(Defined by Combinatorial.)
Public Extension MethodRandomItemSplicedPointTBasePointOverloaded.
Returns a random element from a source.
(Defined by CollectionExtensions.)
Public Extension MethodRandomItemSplicedPointTBasePoint(IRandom)Overloaded.
Returns a random element from a source.
(Defined by CollectionExtensions.)
Public Extension MethodRotateLeftSplicedPointTBasePoint
Returns a enumerable with elements in order, but the first element is moved to the end.
(Defined by CollectionExtensions.)
Public Extension MethodRotateRightSplicedPointTBasePoint
Returns a enumerable with elements in order, but the last element is moved to the front.
(Defined by CollectionExtensions.)
Public Extension MethodSampleRandomSplicedPointTBasePoint(Int32)Overloaded.
Returns a random sample from a source.
(Defined by CollectionExtensions.)
Public Extension MethodSampleRandomSplicedPointTBasePoint(Int32, IRandom)Overloaded.
Returns a random sample from a source.
(Defined by CollectionExtensions.)
Public Extension MethodTakeHalfSplicedPointTBasePoint
Returns the first half of elements from a source.
(Defined by CollectionExtensions.)
Public Extension MethodTakeLastSplicedPointTBasePoint
Returns the last n elements from a source.
(Defined by CollectionExtensions.)
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Public Extension MethodToPeriodicGeneratorSplicedPointTBasePoint (Defined by GeneratorExtensions.)
Public Extension MethodToPointListSplicedPointTBasePoint
This method performs the same function as ToList, but returns a PointList instead.
(Defined by IEnumerableExtensions.)
Public Extension MethodToRandomElementGeneratorSplicedPointTBasePoint (Defined by GeneratorExtensions.)
Public Extension MethodTuplesSplicedPointTBasePoint (Defined by Combinatorial.)
Top
Explicit Interface Implementations
See Also