Table of Contents

Struct VelocitySquared

Namespace
H.Extensions.Unit
Assembly
H.Extensions.Unit.dll
public readonly struct VelocitySquared : IPhysicalQuantity
Implements
Inherited Members
Extension Methods

Constructors

VelocitySquared(PhysicalQuantity)

public VelocitySquared(PhysicalQuantity q)

Parameters

q PhysicalQuantity

VelocitySquared(double)

public VelocitySquared(double v)

Parameters

v double

Properties

Dimensions

public Dimensions Dimensions { get; }

Property Value

Dimensions

Value

public double Value { get; init; }

Property Value

double

Methods

Compare(VelocitySquared, VelocitySquared)

public static int Compare(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

int

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Parse(string)

public static VelocitySquared Parse(string s)

Parameters

s string

Returns

VelocitySquared

Parse(string, UnitsSystem)

public static VelocitySquared Parse(string s, UnitsSystem system)

Parameters

s string
system UnitsSystem

Returns

VelocitySquared

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

ToString(params Unit[])

public string ToString(params Unit[] units)

Parameters

units Unit[]

Returns

string

ToString(UnitsSystem, FormatOption)

public string ToString(UnitsSystem system, UnitsSystem.FormatOption option)

Parameters

system UnitsSystem
option UnitsSystem.FormatOption

Returns

string

ToString(FormatOption)

public string ToString(UnitsSystem.FormatOption option)

Parameters

option UnitsSystem.FormatOption

Returns

string

ToString(int, params Unit[])

public string ToString(int precision, params Unit[] units)

Parameters

precision int
units Unit[]

Returns

string

TryParse(string, UnitsSystem, out VelocitySquared)

public static bool TryParse(string s, UnitsSystem system, out VelocitySquared q)

Parameters

s string
system UnitsSystem
q VelocitySquared

Returns

bool

TryParse(string, out VelocitySquared)

public static bool TryParse(string s, out VelocitySquared q)

Parameters

s string
q VelocitySquared

Returns

bool

Operators

operator +(VelocitySquared, VelocitySquared)

public static VelocitySquared operator +(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

VelocitySquared

operator /(VelocitySquared, Acceleration)

public static Length operator /(VelocitySquared v1, Acceleration v2)

Parameters

v1 VelocitySquared
v2 Acceleration

Returns

Length

operator /(VelocitySquared, Dimensionless)

public static VelocitySquared operator /(VelocitySquared v1, Dimensionless v2)

Parameters

v1 VelocitySquared
v2 Dimensionless

Returns

VelocitySquared

operator /(VelocitySquared, Length)

public static Acceleration operator /(VelocitySquared v1, Length v2)

Parameters

v1 VelocitySquared
v2 Length

Returns

Acceleration

operator /(VelocitySquared, Velocity)

public static Velocity operator /(VelocitySquared v1, Velocity v2)

Parameters

v1 VelocitySquared
v2 Velocity

Returns

Velocity

operator /(VelocitySquared, VelocitySquared)

public static Dimensionless operator /(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

Dimensionless

operator /(VelocitySquared, double)

public static VelocitySquared operator /(VelocitySquared v1, double v2)

Parameters

v1 VelocitySquared
v2 double

Returns

VelocitySquared

operator /(VelocitySquared, int)

public static VelocitySquared operator /(VelocitySquared v1, int v2)

Parameters

v1 VelocitySquared
v2 int

Returns

VelocitySquared

operator ==(VelocitySquared, VelocitySquared)

public static bool operator ==(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

bool

operator >(VelocitySquared, VelocitySquared)

public static bool operator >(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

bool

operator >=(VelocitySquared, VelocitySquared)

public static bool operator >=(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

bool

operator !=(VelocitySquared, VelocitySquared)

public static bool operator !=(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

bool

operator <(VelocitySquared, VelocitySquared)

public static bool operator <(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

bool

operator <=(VelocitySquared, VelocitySquared)

public static bool operator <=(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

bool

operator *(VelocitySquared, Dimensionless)

public static VelocitySquared operator *(VelocitySquared v1, Dimensionless v2)

Parameters

v1 VelocitySquared
v2 Dimensionless

Returns

VelocitySquared

operator *(VelocitySquared, Mass)

public static Energy operator *(VelocitySquared v1, Mass v2)

Parameters

v1 VelocitySquared
v2 Mass

Returns

Energy

operator *(VelocitySquared, double)

public static VelocitySquared operator *(VelocitySquared v1, double v2)

Parameters

v1 VelocitySquared
v2 double

Returns

VelocitySquared

operator *(VelocitySquared, int)

public static VelocitySquared operator *(VelocitySquared v1, int v2)

Parameters

v1 VelocitySquared
v2 int

Returns

VelocitySquared

operator *(double, VelocitySquared)

public static VelocitySquared operator *(double v1, VelocitySquared v2)

Parameters

v1 double
v2 VelocitySquared

Returns

VelocitySquared

operator -(VelocitySquared, VelocitySquared)

public static VelocitySquared operator -(VelocitySquared v1, VelocitySquared v2)

Parameters

v1 VelocitySquared
v2 VelocitySquared

Returns

VelocitySquared

operator -(VelocitySquared)

public static VelocitySquared operator -(VelocitySquared v)

Parameters

v VelocitySquared

Returns

VelocitySquared