Click or drag to resize

IVectorPointTPoint Interface

A VectorPoint is a point that is also an algebraic vector.

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

Type Parameters

TPoint

The IVectorPointTPoint type exposes the following members.

Properties
  NameDescription
Public propertyX
Public propertyY
Top
Methods
  NameDescription
Public methodCode exampleDiv
Integer divides a point by another point component by component.
Public methodMagnitude
Public methodCode exampleMod
Integer divides a point component by component and returns the remainder.
Public methodMoveBackBy
If a spliced vectors u and v has base vector B and index I
(Inherited from ISplicedVectorPointTPoint, TVectorPoint.)
Public methodMoveBy
If a spliced vectors u and v has base vector B and index I,
(Inherited from ISplicedVectorPointTPoint, TVectorPoint.)
Public methodCode exampleMul
Multiplies two points component by component.
Public methodNegate
Returns a new point with the vector component negated.
(Inherited from ISplicedVectorPointTPoint, TVectorPoint.)
Public methodCode exampleScaleDown
Scales this vector by the given amount.
Public methodScaleUp
Public methodSubtract
Translates this point by the negation of the given vector.
(Inherited from ISplicedVectorPointTPoint, TVectorPoint.)
Public methodTranslate
Translate this point by the given vector.
(Inherited from ISplicedVectorPointTPoint, TVectorPoint.)
Top
See Also