Struct Vector2l
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public struct Vector2l : IComparable<Vector2l>, IEquatable<Vector2l>
Constructors
Vector2l(Int64)
Declaration
Parameters
Type |
Name |
Description |
Int64 |
f |
|
Vector2l(Int64, Int64)
Declaration
public Vector2l(long x, long y)
Parameters
Vector2l(Int64[])
Declaration
public Vector2l(long[] v2)
Parameters
Type |
Name |
Description |
Int64[] |
v2 |
|
Fields
AxisX
Declaration
public static readonly Vector2l AxisX
Field Value
AxisY
Declaration
public static readonly Vector2l AxisY
Field Value
One
Declaration
public static readonly Vector2l One
Field Value
x
Declaration
Field Value
y
Declaration
Field Value
Zero
Declaration
public static readonly Vector2l Zero
Field Value
Properties
array
Declaration
public long[] array { get; }
Property Value
Item[Int64]
Declaration
public long this[long key] { get; set; }
Parameters
Type |
Name |
Description |
Int64 |
key |
|
Property Value
Methods
Add(Int64)
Declaration
Parameters
Type |
Name |
Description |
Int64 |
s |
|
CompareTo(Vector2l)
Declaration
public int CompareTo(Vector2l other)
Parameters
Returns
Equals(Vector2l)
Declaration
public bool Equals(Vector2l other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Addition(Vector2l, Vector2l)
Declaration
public static Vector2l operator +(Vector2l v0, Vector2l v1)
Parameters
Returns
Addition(Vector2l, Int64)
Declaration
public static Vector2l operator +(Vector2l v0, long f)
Parameters
Returns
Division(Vector2l, Vector2l)
Declaration
public static Vector2l operator /(Vector2l a, Vector2l b)
Parameters
Returns
Division(Vector2l, Int64)
Declaration
public static Vector2l operator /(Vector2l v, long f)
Parameters
Returns
Division(Int64, Vector2l)
Declaration
public static Vector2l operator /(long f, Vector2l v)
Parameters
Returns
Equality(Vector2l, Vector2l)
Declaration
public static bool operator ==(Vector2l a, Vector2l b)
Parameters
Returns
Inequality(Vector2l, Vector2l)
Declaration
public static bool operator !=(Vector2l a, Vector2l b)
Parameters
Returns
Multiply(Vector2l, Vector2l)
Declaration
public static Vector2l operator *(Vector2l a, Vector2l b)
Parameters
Returns
Multiply(Vector2l, Int64)
Declaration
public static Vector2l operator *(Vector2l v, long f)
Parameters
Returns
Multiply(Int64, Vector2l)
Declaration
public static Vector2l operator *(long f, Vector2l v)
Parameters
Returns
Subtraction(Vector2l, Vector2l)
Declaration
public static Vector2l operator -(Vector2l v0, Vector2l v1)
Parameters
Returns
Subtraction(Vector2l, Int64)
Declaration
public static Vector2l operator -(Vector2l v0, long f)
Parameters
Returns
UnaryNegation(Vector2l)
Declaration
public static Vector2l operator -(Vector2l v)
Parameters
Returns
Implements