Skip to content

# `Interval`

## fontlab.Interval = class Interval(object)

      Interval representation

      Constructors:

#### Methods

__delattr__(...)

      x.__delattr__('name') <==> del x.name

__eq__(...)

      x.__eq__(y) <==> x==y

__ge__(...)

      x.__ge__(y) <==> x>=y

__getattribute__(...)

      x.__getattribute__('name') <==> x.name

__gt__(...)

      x.__gt__(y) <==> x>y

__init__(...)

      x.__init__(...) initializes x; see help(type(x)) for signature

__le__(...)

      x.__le__(y) <==> x<=y

__lt__(...)

      x.__lt__(y) <==> x

__ne__(...)

      x.__ne__(y) <==> x!=y

__repr__(...)

      x.__repr__() <==> repr(x)

__setattr__(...)

      x.__setattr__('name', value) <==> x.name = value

isEmpty(...)

      bool isEmpty()

middle(...)

      double middle()

reversed(...)

      Interval reversed()

setT0T1(...)

      void setT0T1(double t0, double t1)

toAbsolute(...)

      double toAbsolute(double v)

toInterval(...)

      double toInterval(double absv)

#### Descriptors

d

      double d

key

      uint key

t0

      double t0

t1

      double t1

#### Attributes

__new__ = <built-in method __new__ of type object>

      T.__new__(S, ...) -> a new object with type S, a subtype of T

## `d`

fontlab.Interval.d

      double d

## `isEmpty`

fontlab.Interval.isEmpty = isEmpty(...)

      bool isEmpty()

## `key`

fontlab.Interval.key

      uint key

## `middle`

fontlab.Interval.middle = middle(...)

      double middle()

## `reversed`

fontlab.Interval.reversed = reversed(...)

      Interval reversed()

## `setT0T1`

fontlab.Interval.setT0T1 = setT0T1(...)

      void setT0T1(double t0, double t1)

## `t0`

fontlab.Interval.t0

      double t0

## `t1`

fontlab.Interval.t1

      double t1

## `toAbsolute`

fontlab.Interval.toAbsolute = toAbsolute(...)

      double toAbsolute(double v)

## `toInterval`

fontlab.Interval.toInterval = toInterval(...)

      double toInterval(double absv)