Struct Quad
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 Quad : ITransformable3D<Quad>, IPoints, IMappable<Quad, Vector3>, IEquatable<Quad>
Constructors
View SourceQuad((Vector3 a, Vector3 b, Vector3 c, Vector3 d))
public Quad((Vector3 a, Vector3 b, Vector3 c, Vector3 d) tuple)
Quad(Vector3, Vector3, Vector3, Vector3)
public Quad(Vector3 a, Vector3 b, Vector3 c, Vector3 d)
Fields
View SourceA
[DataMember]
public readonly Vector3 A
B
[DataMember]
public readonly Vector3 B
C
[DataMember]
public readonly Vector3 C
D
[DataMember]
public readonly Vector3 D
MaxValue
public static Quad MaxValue
MinValue
public static Quad MinValue
Zero
public static Quad Zero
Properties
View SourceNumPoints
public readonly int NumPoints { get; }
Methods
View SourceAlmostEquals(Quad, Single)
public readonly bool AlmostEquals(Quad x, float tolerance = 1E-07F)
Create((Vector3 a, Vector3 b, Vector3 c, Vector3 d))
public static Quad Create((Vector3 a, Vector3 b, Vector3 c, Vector3 d) tuple)
Create(Vector3, Vector3, Vector3, Vector3)
public static Quad Create(Vector3 a, Vector3 b, Vector3 c, Vector3 d)
Deconstruct(out Vector3, out Vector3, out Vector3, out Vector3)
public readonly void Deconstruct(out Vector3 a, out Vector3 b, out Vector3 c, out Vector3 d)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(Quad)
public readonly bool Equals(Quad x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
GetPoint(Int32)
public readonly Vector3 GetPoint(int n)
Map(Func<Vector3, Vector3>)
public readonly Quad Map(Func<Vector3, Vector3> f)
SetA(Vector3)
public readonly Quad SetA(Vector3 x)
SetB(Vector3)
public readonly Quad SetB(Vector3 x)
SetC(Vector3)
public readonly Quad SetC(Vector3 x)
SetD(Vector3)
public readonly Quad SetD(Vector3 x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
View Source
Transform(Matrix4x4)
public readonly Quad Transform(Matrix4x4 mat)
Operators
View SourceEquality(Quad, Quad)
public static bool operator ==(Quad x0, Quad x1)
Implicit((Vector3 a, Vector3 b, Vector3 c, Vector3 d) to Quad)
public static implicit operator Quad((Vector3 a, Vector3 b, Vector3 c, Vector3 d) tuple)
Implicit(Quad to (Vector3 a, Vector3 b, Vector3 c, Vector3 d))
public static implicit operator (Vector3 a, Vector3 b, Vector3 c, Vector3 d)(Quad self)
Inequality(Quad, Quad)
public static bool operator !=(Quad x0, Quad x1)
Implements
System.IEquatable<T>