vibespatial.runtime.nulls

Attributes

Classes

GeometryPresence

Enum where members are also (and must be) strings

UnaryNullPolicy

Enum where members are also (and must be) strings

EmptyMeasurementPolicy

Enum where members are also (and must be) strings

PredicateNullPolicy

Enum where members are also (and must be) strings

GeometrySemantics

Functions

is_null_like(→ bool)

classify_geometry(→ GeometrySemantics)

unary_result_for_missing_input(→ None)

measurement_result_for_geometry(→ float | tuple[float, ...)

predicate_result_for_pair(→ bool | None)

Module Contents

class vibespatial.runtime.nulls.GeometryPresence

Enum where members are also (and must be) strings

NULL = 'null'
EMPTY = 'empty'
VALUE = 'value'
class vibespatial.runtime.nulls.UnaryNullPolicy

Enum where members are also (and must be) strings

PROPAGATE = 'propagate'
class vibespatial.runtime.nulls.EmptyMeasurementPolicy

Enum where members are also (and must be) strings

ZERO = 'zero'
NAN_BOUNDS = 'nan-bounds'
class vibespatial.runtime.nulls.PredicateNullPolicy

Enum where members are also (and must be) strings

PROPAGATE = 'propagate'
class vibespatial.runtime.nulls.GeometrySemantics
presence: GeometryPresence
geom_type: str | None = None
vibespatial.runtime.nulls.NULL_BOUNDS
vibespatial.runtime.nulls.is_null_like(value: Any) bool
vibespatial.runtime.nulls.classify_geometry(value: Any) GeometrySemantics
vibespatial.runtime.nulls.unary_result_for_missing_input(value: Any) None
vibespatial.runtime.nulls.measurement_result_for_geometry(value: Any, *, kind: str) float | tuple[float, float, float, float]
vibespatial.runtime.nulls.predicate_result_for_pair(left: Any, right: Any) bool | None