geolime.objects.polygon

Classes:

GeometricalObject(data, metadata)

Parent class of every object

Polygon(data, metadata)

class geolime.objects.polygon.Polygon(data: geopandas.geodataframe.GeoDataFrame, metadata: dict = {})

Bases: geolime.objects.geometricalobject.GeometricalObject

Attributes:

bounds

Return bounding coordinates of the mesh: origin and extent

property bounds

Return bounding coordinates of the mesh: origin and extent

Returns

numpy array of 2 bounding coordinates

Return type

np.ndarray