Struct vec2d
Native vec2d.
public struct vec2d : IEquatable<vec2d>
- Implements
- Inherited Members
- Extension Methods
Constructors
vec2d(Vec2d)
Ctor.
public vec2d(Vec2d src)
Parameters
src
Vec2dsrc
vec2d(double, double)
Ctor.x
public vec2d(double x, double y)
Parameters
Fields
x
x.
public double x
Field Value
y
y.
public double y
Field Value
Methods
Equals(vec2d)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(vec2d other)
Parameters
other
vec2dAn object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe 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.
Operators
operator ==(vec2d, vec2d)
public static bool operator ==(vec2d left, vec2d right)
Parameters
Returns
operator !=(vec2d, vec2d)
public static bool operator !=(vec2d left, vec2d right)