Class IntervalD
Represents an interval of double values
Inheritance
System.Object
IntervalD
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Imaging.Mathematics
Assembly: fo-dicom.core.dll
Syntax
public class IntervalD
Constructors
IntervalD(Double, Double)
Declaration
public IntervalD(double min, double max)
Parameters
Type | Name | Description |
---|---|---|
System.Double | min | |
System.Double | max |
Properties
Center
Declaration
public double Center { get; }
Property Value
Type | Description |
---|---|
System.Double |
Max
The upper bound of the interval
Declaration
public double Max { get; }
Property Value
Type | Description |
---|---|
System.Double |
Min
The lower bound of the interval
Declaration
public double Min { get; }
Property Value
Type | Description |
---|---|
System.Double |
Width
Declaration
public double Width { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Contains(Double)
Returns true if the value is between Min and Max including the boundries
Declaration
public bool Contains(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Type | Description |
---|---|
System.Boolean |