alinarus's picture
Upload folder using huggingface_hub (part 18)
9ff4bea verified
Raw History Blame Contribute Delete
1.07 kB
# DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs
# Based on "crates/build/re_type_definitions/rerun/components/latlon.def.rs".
# You can extend this class by creating a "LatLonExt" class in "lat_lon_ext.py".
from __future__ import annotations
from .. import encodings
from .._baseclasses import (
ComponentBatchMixin,
ComponentMixin,
)
__all__ = ["LatLon", "LatLonBatch"]
class LatLon(encodings.DVec2D, ComponentMixin):
"""**Component**: A geospatial position expressed in [EPSG:4326](https://epsg.io/4326) latitude and longitude (North/East-positive degrees)."""
_BATCH_TYPE = None
# You can define your own __init__ function as a member of LatLonExt in lat_lon_ext.py
# Note: there are no fields here because LatLon delegates to encodings.DVec2D
class LatLonBatch(encodings.DVec2DBatch, ComponentBatchMixin):
_COMPONENT_TYPE: str = "rerun.components.LatLon"
# This is patched in late to avoid circular dependencies.
LatLon._BATCH_TYPE = LatLonBatch # type: ignore[assignment]