• 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 DInterval

Implements
System.IEquatable<DInterval>
System.IComparable<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 Source

DInterval(Double, Double)

public DInterval(double min, double max)
View Source

DInterval((Double min, Double max))

public DInterval((double min, double max) tuple)

Fields

View Source

Empty

public static DInterval Empty
View Source

Max

[DataMember]
public readonly double Max
View Source

MaxValue

public static DInterval MaxValue
View Source

Min

[DataMember]
public readonly double Min
View Source

MinValue

public static DInterval MinValue
View Source

Zero

public static DInterval Zero

Properties

View Source

Center

public readonly double Center { get; }
View Source

Extent

public readonly double Extent { get; }

Methods

View Source

AlmostEquals(DInterval, Single)

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

CompareTo(DInterval)

public readonly int CompareTo(DInterval x)
View Source

Create(Double, Double)

public static DInterval Create(double min, double max)
View Source

Create((Double min, Double max))

public static DInterval Create((double min, double max) tuple)
View Source

Deconstruct(out Double, out Double)

public readonly void Deconstruct(out double min, out double max)
View Source

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

GetHashCode()

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

Intersection(DInterval)

public readonly DInterval Intersection(DInterval other)
View Source

IsInfinity()

public readonly bool IsInfinity()
View Source

IsNaN()

public readonly bool IsNaN()
View Source

Magnitude()

public readonly double Magnitude()
View Source

MagnitudeSquared()

public readonly double MagnitudeSquared()
View Source

Merge(Double)

public readonly DInterval Merge(double other)
View Source

Merge(DInterval)

public readonly DInterval Merge(DInterval other)
View Source

SetMax(Double)

public readonly DInterval SetMax(double x)
View Source

SetMin(Double)

public readonly DInterval SetMin(double x)
View Source

ToString()

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

Operators

View Source

Addition(DInterval, Double)

public static DInterval operator +(DInterval value1, double value2)
View Source

Addition(DInterval, DInterval)

public static DInterval operator +(DInterval value1, DInterval value2)
View Source

Equality(DInterval, DInterval)

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

GreaterThan(DInterval, DInterval)

public static bool operator>(DInterval x0, DInterval x1)
View Source

GreaterThanOrEqual(DInterval, DInterval)

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

Implicit((Double min, Double max) to DInterval)

public static implicit operator DInterval((double min, double max) tuple)
View Source

Implicit(DInterval to (Double min, Double max))

public static implicit operator (double min, double max)(DInterval self)
View Source

Inequality(DInterval, DInterval)

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

LessThan(DInterval, DInterval)

public static bool operator <(DInterval x0, DInterval x1)
View Source

LessThanOrEqual(DInterval, DInterval)

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

Subtraction(DInterval, DInterval)

public static DInterval operator -(DInterval value1, DInterval value2)

Implements

System.IEquatable<T>
System.IComparable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright VIM 2021, Generated by DocFX