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