Click or drag to resize

Bounds Structure

Holds two values which form the bounds of a range of real numbers.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public struct Bounds : IEquatable<Bounds>, 
	IEquatableEpsilon<Bounds>

The Bounds type exposes the following members.

Constructors
  NameDescription
Public methodBounds
Holds the values which form the bounds of a range of real numbers.
Top
Properties
  NameDescription
Public propertyIsFinite
Gets a value indicating whether this instance has a finite value as either the lower or upper bound.
Public propertyIsUnbounded
Gets a value indicating whether this instance ranges from NegativeInfinity to PositiveInfinity.
Public propertyIsUndefined
Gets a value indicating whether any of the values for this instance have the value NaN.
Public propertyLowerBound
Gets the minimal value defining the range of numbers.
Public propertyStatic memberUnbounded
Gets a set of Bounds representing the full range of real values from negative infinity to positive infinity.
Public propertyStatic memberUndefined
Gets a set of Bounds with values of NaN.
Public propertyUpperBound
Gets the maximal value defining the range of numbers.
Top
Methods
  NameDescription
Public methodEquals(Bounds)
Indicates whether another instance of this type is exactly equal to this instance.
Public methodEquals(Object)
Indicates whether another object is exactly equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEqualsEpsilon
Indicates whether each value of another instance of this type is within the required tolerance of the corresponding value of this instance.
Public methodGetHashCode
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the string representation of the value of this instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Returns if the two instances are exactly equal.
Public operatorStatic memberInequality
Returns if the two instances are not exactly equal.
Top
See Also