offset Module

class neso_fame.offset.OffsetableMeta(type)

Metaclass for offsetable clases, providing help with type-checking.

class neso_fame.offset.LazilyOffsetable

Base class for types which can be wrapped in neso_fame.offset.LazyOffset.

class neso_fame.offset.EagerlyOffsetable(Protocol)

Protocal for classes which should be eagerly offset.

class neso_fame.offset.LazyOffset(Generic[T])

Wrap an object to represent it being offset in the x3 direction.

neso_fame.offset.Offset(obj: T, x3_offset: float) T

Offset the object in the x3-direction.


Last update: Nov 07, 2024