Click or drag to resize

ClosedOpenInterval Class

Class ClosedOpenInterval represents a numeric interval with an inclusive lower bound and an exclusive upper bound.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreInterval
    CenterSpace.NMath.CoreClosedOpenInterval

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
[SerializableAttribute]
public class ClosedOpenInterval : Interval

The ClosedOpenInterval type exposes the following members.

Constructors
  NameDescription
Public methodClosedOpenInterval
Default constructor. Constructs the closed-open interval [0, 1).
Public methodClosedOpenInterval(Double, Double)
Constructs a ClosedOpenInterval instance with the given endpoints.
Top
Properties
  NameDescription
Public propertyIntervalType
Gets and sets the interval type.
(Overrides IntervalIntervalType.)
Public propertyMax
Gets the right endpoint of the interval (upper bound).
(Inherited from Interval.)
Public propertyMin
Gets the value of the left-hand endpoint (lower bound).
(Inherited from Interval.)
Top
Methods
  NameDescription
Public methodClone
Creates a deep copy of this interval.
(Overrides IntervalClone.)
Public methodEquals
Tests for equality of this interval and another interval.
(Inherited from Interval.)
Public methodGetHashCode
Returns an integer hash code for this interval.
(Inherited from Interval.)
Public methodIsIn
Determines if the given data point lies within the interval.
(Inherited from Interval.)
Public methodSetEndPoints
Method to set the left and right endpoints for self.
(Inherited from Interval.)
Public methodToString
Returns a formatted string representation of this interval using conventional notation.
(Inherited from Interval.)
Public methodToString(String)
Returns a formatted string representation of this interval using conventional notation.
(Inherited from Interval.)
Top
Fields
  NameDescription
Protected fieldintervalType_
(Inherited from Interval.)
Protected fieldmax_
(Inherited from Interval.)
Protected fieldmin_
(Inherited from Interval.)
Top
See Also