Click or drag to resize

ISplicedVectorPointTPoint, TVectorPoint Interface

A partial vector point is a point that can be translated by "adding" a vector point. Partial vectors can be seen as a pair, one of which is a vector(of type TVectorPoint). All the operations actually operate on the vector of this pair. Partial vector points are used in SplicedGrids, where the second of the pair is an index that denotes the sub-cell.For example, for a tri point, the vector is a hex point, and the index denotes whether the point refers to the up or down triangle.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 0, 0)]
public interface ISplicedVectorPoint<TPoint, TVectorPoint>
where TPoint : Object, ISplicedVectorPoint<TPoint, TVectorPoint>
where TVectorPoint : Object, IVectorPoint<TVectorPoint>

Type Parameters

TPoint
The type that implements this interface.
TVectorPoint
The type used to translate TPoints.

The ISplicedVectorPointTPoint, TVectorPoint type exposes the following members.

Methods
  NameDescription
Public methodMoveBackBy
If a spliced vectors u and v has base vector B and index I
Public methodMoveBy
If a spliced vectors u and v has base vector B and index I,
Public methodNegate
Returns a new point with the vector component negated.
Public methodSubtract
Translates this point by the negation of the given vector.
Public methodTranslate
Translate this point by the given vector.
Top
See Also