Class BoundingBox

com.yandex.mapkit.geometry

java.lang.Object ⇽ BoundingBox

public class BoundingBox

A rectangular box around the object.

Constructors

BoundingBox(@NonNull Point southWest, @NonNull Point northEast)
BoundingBox()

Use constructor with parameters in your code.

Methods

Point getNorthEast()

The coordinates of the northeast corner of the box.

Point getSouthWest()

The coordinates of the southwest corner of the box.

void serialize(Archive archive)

Constructor Detail

BoundingBox

public BoundingBox (@NonNull Point southWest, @NonNull Point northEast)

BoundingBox

public BoundingBox ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getNorthEast

public Point getNorthEast ()

The coordinates of the northeast corner of the box.

getSouthWest

public Point getSouthWest ()

The coordinates of the southwest corner of the box.

serialize

public void serialize (Archive archive)