sdk-search / com.tomtom.online.sdk.search.data.geometry / Geometry / getPolygon

getPolygon

@Nullable open fun getPolygon(): PolygonGeometry?

The getter of a polygon geometry. Only use this if the geometry Class was initialized through a proper Constructor, otherwise it will return null.