• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Vim.Math3d
    • AABox
    • AABox2D
    • AABox4D
    • AngularMotion
    • AxisAngle
    • Byte2
    • Byte3
    • Byte4
    • ColorHDR
    • ColorRGB
    • ColorRGBA
    • Complex
    • Constants
    • ContainmentType
    • CylindricalCoordinate
    • DAABox
    • DAABox2D
    • DAABox4D
    • DInterval
    • DPlane
    • DQuaternion
    • DRay
    • DSphere
    • DVector2
    • DVector3
    • DVector4
    • Euler
    • GeoCoordinate
    • Hash
    • HorizontalCoordinate
    • IMappable<TContainer, TPart>
    • Int2
    • Int3
    • Int4
    • Interval
    • IPoints
    • IPoints2D
    • ITransformable3D<TSelf>
    • Line
    • Line2D
    • LinearMotion
    • LinqUtil
    • LogPolarCoordinate
    • MathOps
    • Matrix4x4
    • Motion
    • MovementExtensions
    • Plane
    • PlaneIntersectionType
    • PolarCoordinate
    • Quad
    • Quad2D
    • Quaternion
    • Ray
    • Sphere
    • SphericalCoordinate
    • StatelessRandom
    • Stats<T>
    • Transform
    • Transformable3D
    • Triangle
    • Triangle2D
    • Vector2
    • Vector3
    • Vector4

Struct Quad

Implements
ITransformable3D<Quad>
IPoints
IMappable<Quad, Vector3>
System.IEquatable<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 Source

Quad((Vector3 a, Vector3 b, Vector3 c, Vector3 d))

public Quad((Vector3 a, Vector3 b, Vector3 c, Vector3 d) tuple)
View Source

Quad(Vector3, Vector3, Vector3, Vector3)

public Quad(Vector3 a, Vector3 b, Vector3 c, Vector3 d)

Fields

View Source

A

[DataMember]
public readonly Vector3 A
View Source

B

[DataMember]
public readonly Vector3 B
View Source

C

[DataMember]
public readonly Vector3 C
View Source

D

[DataMember]
public readonly Vector3 D
View Source

MaxValue

public static Quad MaxValue
View Source

MinValue

public static Quad MinValue
View Source

Zero

public static Quad Zero

Properties

View Source

NumPoints

public readonly int NumPoints { get; }

Methods

View Source

AlmostEquals(Quad, Single)

public readonly bool AlmostEquals(Quad x, float tolerance = 1E-07F)
View Source

Create((Vector3 a, Vector3 b, Vector3 c, Vector3 d))

public static Quad Create((Vector3 a, Vector3 b, Vector3 c, Vector3 d) tuple)
View Source

Create(Vector3, Vector3, Vector3, Vector3)

public static Quad Create(Vector3 a, Vector3 b, Vector3 c, Vector3 d)
View Source

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)
View Source

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)
View Source

GetHashCode()

public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source

GetPoint(Int32)

public readonly Vector3 GetPoint(int n)
View Source

Map(Func<Vector3, Vector3>)

public readonly Quad Map(Func<Vector3, Vector3> f)
View Source

SetA(Vector3)

public readonly Quad SetA(Vector3 x)
View Source

SetB(Vector3)

public readonly Quad SetB(Vector3 x)
View Source

SetC(Vector3)

public readonly Quad SetC(Vector3 x)
View Source

SetD(Vector3)

public readonly Quad SetD(Vector3 x)
View Source

ToString()

public override readonly string ToString()
Overrides
System.ValueType.ToString()
View Source

Transform(Matrix4x4)

public readonly Quad Transform(Matrix4x4 mat)

Operators

View Source

Equality(Quad, Quad)

public static bool operator ==(Quad x0, Quad x1)
View Source

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)
View Source

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)
View Source

Inequality(Quad, Quad)

public static bool operator !=(Quad x0, Quad x1)

Implements

ITransformable3D<TSelf>
IPoints
IMappable<TContainer, TPart>
System.IEquatable<T>

Extension Methods

Transformable3D.Transform<T>(ITransformable3D<T>, Matrix4x4[])
Transformable3D.Translate<T>(ITransformable3D<T>, Vector3)
Transformable3D.Translate<T>(ITransformable3D<T>, Single, Single, Single)
Transformable3D.Rotate<T>(ITransformable3D<T>, Quaternion)
Transformable3D.Scale<T>(ITransformable3D<T>, Single)
Transformable3D.Scale<T>(ITransformable3D<T>, Vector3)
Transformable3D.Scale<T>(ITransformable3D<T>, Single, Single, Single)
Transformable3D.ScaleX<T>(ITransformable3D<T>, Single)
Transformable3D.ScaleY<T>(ITransformable3D<T>, Single)
Transformable3D.ScaleZ<T>(ITransformable3D<T>, Single)
Transformable3D.LookAt<T>(ITransformable3D<T>, Vector3, Vector3, Vector3)
Transformable3D.RotateAround<T>(ITransformable3D<T>, Vector3, Single)
Transformable3D.Rotate<T>(ITransformable3D<T>, Single, Single, Single)
Transformable3D.Reflect<T>(ITransformable3D<T>, Plane)
Transformable3D.RotateX<T>(ITransformable3D<T>, Single)
Transformable3D.RotateY<T>(ITransformable3D<T>, Single)
Transformable3D.RotateZ<T>(ITransformable3D<T>, Single)
Transformable3D.TranslateRotateScale<T>(ITransformable3D<T>, Vector3, Quaternion, Vector3)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright VIM 2021, Generated by DocFX