csc.math.SizesInterval

class csc.math.SizesInterval

SizesInterval class

Implements the sizes interval basic methods

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: csc.math.SizesInterval) -> None

  2. __init__(self: csc.math.SizesInterval, start: int, end: int) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

construct_in_right_order(first, second)

contains(self, i)

empty(self)

-> bool

end(self)

-> int

inside_interval_inclusive(self, number)

intersect_intervals(first, second)

safe_construct(first, second)

start(self)

-> int

union_overlaping_intervals(first, second)

__eq__(self: csc.math.SizesInterval, arg0: csc.math.SizesInterval) bool
__hash__ = None
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: csc.math.SizesInterval) -> None

  2. __init__(self: csc.math.SizesInterval, start: int, end: int) -> None

__lt__(self: csc.math.SizesInterval, arg0: csc.math.SizesInterval) bool
__module__ = 'csc.math'
static construct_in_right_order(first: int, second: int) csc.math.SizesInterval
contains(self: csc.math.SizesInterval, i: int) bool
empty(self: csc.math.SizesInterval) bool

-> bool

end(self: csc.math.SizesInterval) int

-> int

inside_interval_inclusive(self: csc.math.SizesInterval, number: int) bool
static intersect_intervals(first: csc.math.SizesInterval, second: csc.math.SizesInterval) csc.math.SizesInterval
static safe_construct(first: int, second: int) csc.math.SizesInterval
start(self: csc.math.SizesInterval) int

-> int

static union_overlaping_intervals(first: csc.math.SizesInterval, second: csc.math.SizesInterval) csc.math.SizesInterval