• About MapKit
    • Getting started
  • Map styles
  • MapKit SDK versions
  • Frequently asked questions
  • Contact us

Package com.yandex.mapkit.geometry

Class BoundingBox

java.lang.Object
    ↳ com.yandex.mapkit.geometry.BoundingBox

class BoundingBox implements Serializable

A rectangular box around the object.

Summary

Constructors

Signature and Description

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

BoundingBox()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

Point

getSouthWest()
The coordinates of the southwest corner of the box.

Point

getNorthEast()
The coordinates of the northeast corner of the box.

void

serialize(com.yandex.runtime.bindings.Archive archive)

Constuctors

BoundingBox

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


BoundingBox

BoundingBox()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getSouthWest

@NonNull
Point getSouthWest()

The coordinates of the southwest corner of the box.


getNorthEast

@NonNull
Point getNorthEast()

The coordinates of the northeast corner of the box.


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)