Welcome to Python-flavored Magnum! Please note that, while already being
rather stable, this functionality is still considered

*experimental*and some APIs might get changed without preserving full backwards compatibility.# class

Range1DiOne-dimensional float range

### Contents

- Reference

## Static methods

## Methods

- def center(self, /) -> int
- Range center
- def contains(self, arg0: int, /) -> bool
- Whether given point is contained inside the range
- def contains(self, arg0: Range1Di, /) -> bool
- Whether another range is fully contained inside this range
- def padded(self, arg0: int, /) -> Range1Di
- Padded ange
- def scaled(self, arg0: int, /) -> Range1Di
- Scaled range
- def scaled_from_center(self, arg0: int, /) -> Range1Di
- Range scaled from the center
- def size(self, /) -> int
- Range size
- def translated(self, arg0: int, /) -> Range1Di
- Translated range

## Special methods

- def __eq__(self, arg0: Range1Di, /) -> bool
- Equality comparison
- def __init__(self, arg0: Range1D, /) -> None
- Construct from different underlying type
- def __init__(self, arg0: Range1Dd, /) -> None
- Construct from different underlying type
- def __init__(self, /) -> None
- Default constructor
- def __init__(self, arg0: int, arg1: int, /) -> None
- Construct a range from minimal and maximal coordiantes
- def __init__(self, arg0: typing.Tuple[int, int], /) -> None
- Construct a range from minimal and maximal coordiantes
- def __ne__(self, arg0: Range1Di, /) -> bool
- Non-equality comparison
- def __repr__(self, /) -> str
- Object representation