Package com.yandex.mapkit.geometry
Class Geometry
java.lang.Object
↳ com.yandex.mapkit.geometry.Geometry
class Geometry implements Serializable
A container of other geometry objects.
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.
Summary
Constructors
Signature and Description |
Geometry() |
Methods
Type and modifiers |
Method and Description |
|
|
|
fromPolyline(@NonNull Polyline polyline) |
|
fromPolygon(@NonNull Polygon polygon) |
|
fromMultiPolygon(@NonNull MultiPolygon multiPolygon) |
|
fromBoundingBox(@NonNull BoundingBox boundingBox) |
|
fromCircle(@NonNull Circle circle) |
getPoint() |
|
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
Constuctors
Geometry
Geometry() |
Methods
fromPoint
fromPolyline
fromPolygon
fromMultiPolygon
@NonNull |
fromBoundingBox
@NonNull |
fromCircle
getPoint
@Nullable |
getPolyline
@Nullable |
getPolygon
@Nullable |
getMultiPolygon
@Nullable |
getBoundingBox
@Nullable |
getCircle
@Nullable |
serialize
@Override |