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