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