Table of Contents

Class VectorState

Namespace
NominalSystems.Maths
Assembly
NominalSystems.Maths.dll

A base class for vector value and variable classes.


public abstract class VectorState
Inheritance
VectorState
Derived

Constructors

VectorState()

protected VectorState()

Properties

this[int]

public abstract double this[int i] { get; set; }

Parameters

i int

Property Value

double

this[uint]

public abstract double this[uint i] { get; set; }

Parameters

i uint

Property Value

double

Size

public abstract uint Size { get; }

Property Value

uint

Methods

Copy()

A function for creating a value copy of this class.

public abstract VectorState Copy()

Returns

VectorState

MakeNull()

A method allowing values to be set to null.

public abstract bool MakeNull()

Returns

bool

A boolean indicating if the value was successfully set to null.

ResetValue()

Reset the value of the VectorState to it's default value.

public abstract void ResetValue()

Resize(int)

Change the size of the Vector State, if able. Will return false if the vector class cannot be resized.

public bool Resize(int size)

Parameters

size int

The new size of the Vector State

Returns

bool

A boolean indicating if the vector resize was successful.

Resize(uint)

Change the size of the Vector State, if able. Will return false if the vector class cannot be resized.

public virtual bool Resize(uint size)

Parameters

size uint

The new size of the Vector State

Returns

bool

A boolean indicating if the vector resize was successful.

Operators

explicit operator Matrix3(VectorState)

Explicit cast of 'VectorState' to a 'Matrix3'.

public static explicit operator Matrix3(VectorState a)

Parameters

a VectorState

Returns

Matrix3

explicit operator Vector3(VectorState)

Explicit cast of 'VectorState' to a 'Vector3'.

public static explicit operator Vector3(VectorState a)

Parameters

a VectorState

Returns

Vector3

explicit operator double(VectorState)

Explicit cast of 'VectorState' to a 'double'.

public static explicit operator double(VectorState a)

Parameters

a VectorState

Returns

double

implicit operator Vector(VectorState)

Explicit cast of 'VectorState' to a 'Vector'.

public static implicit operator Vector(VectorState a)

Parameters

a VectorState

Returns

Vector