Struct vec3d
Native vec3d.
public struct vec3d : IEquatable<vec3d>
- Implements
- Inherited Members
- Extension Methods
Constructors
vec3d(Vec3d)
Ctor.
public vec3d(Vec3d src)
Parameters
src
Vec3dsrc
vec3d(double, double, double)
Ctor.x
public vec3d(double x, double y, double z)
Parameters
Fields
x
x.
public double x
Field Value
y
y.
public double y
Field Value
z
z.
public double z
Field Value
Methods
Equals(vec3d)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(vec3d other)
Parameters
other
vec3dAn 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.
ToString()
To representative string with format:(x,y,z).
public override string ToString()
Returns
- string
Representative string
Operators
operator ==(vec3d, vec3d)
public static bool operator ==(vec3d left, vec3d right)
Parameters
Returns
operator !=(vec3d, vec3d)
public static bool operator !=(vec3d left, vec3d right)