Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Limit

Represents a limit, e.g. tolerance or warning limit.

Hierarchy

  • Limit

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Limit(lower: number | undefined, upper: number | undefined): Limit
  • Parameters

    • lower: number | undefined
    • upper: number | undefined

    Returns Limit

Properties

lower

lower: number | undefined

mid

mid: number | undefined

upper

upper: number | undefined

Methods

containsValue

  • containsValue(value: number, precision: number): boolean
  • Returns true if the interval contains the specified value.

    Parameters

    • value: number

      The value to be checked.

    • precision: number

      The epsilon for floating point comparison, e.g. 0.00001.

    Returns boolean

isUnbounded

  • isUnbounded(): boolean
  • Returns true if the interval is unbounded, which means there is neither an upper boundary nor a lower boundary defined.

    Returns boolean

Generated using TypeDoc