Source code for supervisely.geometry.any_geometry

# coding: utf-8

from supervisely.geometry.geometry import Geometry
from supervisely.geometry.constants import ANY_SHAPE


[docs] class AnyGeometry(Geometry): """Placeholder geometry that accepts any shape type. Used for labels with flexible geometry. Immutable."""
[docs] @staticmethod def geometry_name(): """ Geometry name. :returns: Geometry name :rtype: str """ return ANY_SHAPE