Struct Quad2D
Implements
System.IEquatable<Quad2D>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Vim.Math3d
Assembly: Vim.Math3D.dll
[DataContract]
public readonly struct Quad2D : IEquatable<Quad2D>
Constructors
View SourceQuad2D((Vector2 a, Vector2 b, Vector2 c, Vector2 d))
public Quad2D((Vector2 a, Vector2 b, Vector2 c, Vector2 d) tuple)
Quad2D(Vector2, Vector2, Vector2, Vector2)
public Quad2D(Vector2 a, Vector2 b, Vector2 c, Vector2 d)
Fields
View SourceA
[DataMember]
public readonly Vector2 A
B
[DataMember]
public readonly Vector2 B
C
[DataMember]
public readonly Vector2 C
D
[DataMember]
public readonly Vector2 D
MaxValue
public static Quad2D MaxValue
MinValue
public static Quad2D MinValue
Zero
public static Quad2D Zero
Methods
View SourceAlmostEquals(Quad2D, Single)
public readonly bool AlmostEquals(Quad2D x, float tolerance = 1E-07F)
Create((Vector2 a, Vector2 b, Vector2 c, Vector2 d))
public static Quad2D Create((Vector2 a, Vector2 b, Vector2 c, Vector2 d) tuple)
Create(Vector2, Vector2, Vector2, Vector2)
public static Quad2D Create(Vector2 a, Vector2 b, Vector2 c, Vector2 d)
Deconstruct(out Vector2, out Vector2, out Vector2, out Vector2)
public readonly void Deconstruct(out Vector2 a, out Vector2 b, out Vector2 c, out Vector2 d)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(Quad2D)
public readonly bool Equals(Quad2D x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
SetA(Vector2)
public readonly Quad2D SetA(Vector2 x)
SetB(Vector2)
public readonly Quad2D SetB(Vector2 x)
SetC(Vector2)
public readonly Quad2D SetC(Vector2 x)
SetD(Vector2)
public readonly Quad2D SetD(Vector2 x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceEquality(Quad2D, Quad2D)
public static bool operator ==(Quad2D x0, Quad2D x1)
Implicit((Vector2 a, Vector2 b, Vector2 c, Vector2 d) to Quad2D)
public static implicit operator Quad2D((Vector2 a, Vector2 b, Vector2 c, Vector2 d) tuple)
Implicit(Quad2D to (Vector2 a, Vector2 b, Vector2 c, Vector2 d))
public static implicit operator (Vector2 a, Vector2 b, Vector2 c, Vector2 d)(Quad2D self)
Inequality(Quad2D, Quad2D)
public static bool operator !=(Quad2D x0, Quad2D x1)
Implements
System.IEquatable<T>