Table of Contents

Interface IVector<TVector>

Namespace
Game.Core.Coordinates
Assembly
Game.Core.Coordinates.dll
public interface IVector<TVector>

Type Parameters

TVector
Extension Methods

Methods

Add(TVector)

[Pure]
TVector Add(TVector other)

Parameters

other TVector

Returns

TVector

Divide(int)

[Pure]
TVector Divide(int scalar)

Parameters

scalar int

Returns

TVector

IsStandardBasisScalar(out TVector, out uint)

[Pure]
bool IsStandardBasisScalar(out TVector unitaryVector, out uint scalar)

Parameters

unitaryVector TVector
scalar uint

Returns

bool

Multiply(int)

[Pure]
TVector Multiply(int scalar)

Parameters

scalar int

Returns

TVector

Rotate(GridRotation)

[Pure]
TVector Rotate(GridRotation rotation)

Parameters

rotation GridRotation

Returns

TVector

Subtract(TVector)

[Pure]
TVector Subtract(TVector other)

Parameters

other TVector

Returns

TVector