Class Geometry

com.yandex.mapkit.geometry

public class Geometry

A container of other geometry objects.

@ param Point A point on the map. @ Polyline A polyline between a number of points. @ Polygon A polygon with one or more polygons in it. @ BoundingBox A rectangular box around the object. @ Circle A circle around the specified point.

Methods

Method Detail

fromBoundingBox

public static Geometry fromBoundingBox (@NonNull BoundingBox boundingBox)

fromCircle

public static Geometry fromCircle (@NonNull Circle circle)

fromPoint

public static Geometry fromPoint (@NonNull Point point)

fromPolygon

public static Geometry fromPolygon (@NonNull Polygon polygon)

fromPolyline

public static Geometry fromPolyline (@NonNull Polyline polyline)

getBoundingBox

public BoundingBox getBoundingBox ()

getCircle

public Circle getCircle ()

getPoint

public Point getPoint ()

getPolygon

public Polygon getPolygon ()

getPolyline

public Polyline getPolyline ()