Struct AABox4D
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 AABox4D : IEquatable<AABox4D>, IComparable<AABox4D>
Constructors
View SourceAABox4D((Vector4 min, Vector4 max))
public AABox4D((Vector4 min, Vector4 max) tuple)
AABox4D(Vector4, Vector4)
public AABox4D(Vector4 min, Vector4 max)
Fields
View SourceEmpty
public static AABox4D Empty
Max
[DataMember]
public readonly Vector4 Max
MaxValue
public static AABox4D MaxValue
Min
[DataMember]
public readonly Vector4 Min
MinValue
public static AABox4D MinValue
Zero
public static AABox4D Zero
Properties
View SourceCenter
public readonly Vector4 Center { get; }
Extent
public readonly Vector4 Extent { get; }
Methods
View SourceAlmostEquals(AABox4D, Single)
public readonly bool AlmostEquals(AABox4D x, float tolerance = 1E-07F)
CompareTo(AABox4D)
public readonly int CompareTo(AABox4D x)
Create((Vector4 min, Vector4 max))
public static AABox4D Create((Vector4 min, Vector4 max) tuple)
Create(Vector4, Vector4)
public static AABox4D Create(Vector4 min, Vector4 max)
Deconstruct(out Vector4, out Vector4)
public readonly void Deconstruct(out Vector4 min, out Vector4 max)
Equals(Object)
public override readonly bool Equals(object obj)
Overrides
System.ValueType.Equals(System.Object)
View Source
Equals(AABox4D)
public readonly bool Equals(AABox4D x)
GetHashCode()
public override readonly int GetHashCode()
Overrides
System.ValueType.GetHashCode()
View Source
Intersection(AABox4D)
public readonly AABox4D Intersection(AABox4D other)
IsInfinity()
public readonly bool IsInfinity()
IsNaN()
public readonly bool IsNaN()
Magnitude()
public readonly double Magnitude()
MagnitudeSquared()
public readonly double MagnitudeSquared()
Merge(AABox4D)
public readonly AABox4D Merge(AABox4D other)
Merge(Vector4)
public readonly AABox4D Merge(Vector4 other)
SetMax(Vector4)
public readonly AABox4D SetMax(Vector4 x)
SetMin(Vector4)
public readonly AABox4D SetMin(Vector4 x)
ToString()
public override readonly string ToString()
Overrides
System.ValueType.ToString()
Operators
View SourceAddition(AABox4D, AABox4D)
public static AABox4D operator +(AABox4D value1, AABox4D value2)
Addition(AABox4D, Vector4)
public static AABox4D operator +(AABox4D value1, Vector4 value2)
Equality(AABox4D, AABox4D)
public static bool operator ==(AABox4D x0, AABox4D x1)
GreaterThan(AABox4D, AABox4D)
public static bool operator>(AABox4D x0, AABox4D x1)
GreaterThanOrEqual(AABox4D, AABox4D)
public static bool operator >=(AABox4D x0, AABox4D x1)
Implicit((Vector4 min, Vector4 max) to AABox4D)
public static implicit operator AABox4D((Vector4 min, Vector4 max) tuple)
Implicit(AABox4D to (Vector4 min, Vector4 max))
public static implicit operator (Vector4 min, Vector4 max)(AABox4D self)
Inequality(AABox4D, AABox4D)
public static bool operator !=(AABox4D x0, AABox4D x1)
LessThan(AABox4D, AABox4D)
public static bool operator <(AABox4D x0, AABox4D x1)
LessThanOrEqual(AABox4D, AABox4D)
public static bool operator <=(AABox4D x0, AABox4D x1)
Subtraction(AABox4D, AABox4D)
public static AABox4D operator -(AABox4D value1, AABox4D value2)
Implements
System.IEquatable<T>
System.IComparable<T>