csc.layers.index.FramesIndices

class csc.layers.index.FramesIndices

FramesIndices class

It helps to work with animation intervals

Variables

add – overridden method by int || FramesIndices

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

add(*args, **kwargs)

Overloaded function.

clamp(self, min, max)

empty(self)

first(self)

from_range(min, max)

-> FramesIndices

intersect_indices(l, r)

last(self)

size(self)

to_intervals(indices)

-> FramesInterval[]

union_indices(l, r)

__eq__(self: csc.layers.index.FramesIndices, arg0: csc.layers.index.FramesIndices) bool
__hash__ = None
__init__(*args, **kwargs)
__iter__(self: csc.layers.index.FramesIndices) Iterator
__module__ = 'csc.layers.index'
add(*args, **kwargs)

Overloaded function.

  1. add(self: csc.layers.index.FramesIndices, index: int) -> None

  2. add(self: csc.layers.index.FramesIndices, other: csc.layers.index.FramesIndices) -> None

  3. add(self: csc.layers.index.FramesIndices, indices: Set[int]) -> None

  4. add(self: csc.layers.index.FramesIndices, indices: List[int]) -> None

clamp(self: csc.layers.index.FramesIndices, min: int, max: int) csc.layers.index.FramesIndices
empty(self: csc.layers.index.FramesIndices) bool
first(self: csc.layers.index.FramesIndices) int
static from_range(min: int, max: int) csc.layers.index.FramesIndices

-> FramesIndices

static intersect_indices(l: csc.layers.index.FramesIndices, r: csc.layers.index.FramesIndices) csc.layers.index.FramesIndices
last(self: csc.layers.index.FramesIndices) int
size(self: csc.layers.index.FramesIndices) int
static to_intervals(indices: csc.layers.index.FramesIndices) List[csc.layers.index.FramesInterval]

-> FramesInterval[]

static union_indices(l: csc.layers.index.FramesIndices, r: csc.layers.index.FramesIndices) csc.layers.index.FramesIndices