com.sygic.sdk.position.GeoBoundingBox Class Reference
Inheritance diagram for com.sygic.sdk.position.GeoBoundingBox:
Collaboration diagram for com.sygic.sdk.position.GeoBoundingBox:

Public Member Functions

 GeoBoundingBox (@NonNull final GeoCoordinates topLeft,@NonNull final GeoCoordinates bottomRight)
 GeoBoundingBox (@NonNull final GeoBoundingBox other)
GeoCoordinates getTopLeft ()
GeoCoordinates getBottomRight ()
double getWidth ()
boolean isValid ()
void union (final @NonNull GeoCoordinates coords)
void union (final @NonNull GeoBoundingBox other)
String toString ()
boolean equals (Object o)
int hashCode ()
int describeContents ()
void writeToParcel (final Parcel dest, final int flags)
- Public Member Functions inherited from com.sygic.sdk.BaseNativeParcelable
boolean isValidParcelable ()

Static Public Attributes

static final Creator< GeoBoundingBoxCREATOR

Protected Member Functions

 GeoBoundingBox (final Parcel in)

Additional Inherited Members

- Protected Attributes inherited from com.sygic.sdk.BaseNativeParcelable
boolean mIsValidParcelable = true

Detailed Description

Represents a bounding box that defines a rectangular area in a geographic coordinate system.

Constructor & Destructor Documentation

com.sygic.sdk.position.GeoBoundingBox.GeoBoundingBox ( @NonNull final GeoCoordinates  topLeft,
@NonNull final GeoCoordinates  bottomRight 

Default constructor.

com.sygic.sdk.position.GeoBoundingBox.GeoBoundingBox ( @NonNull final GeoBoundingBox  other)

Create copy.

com.sygic.sdk.position.GeoBoundingBox.GeoBoundingBox ( final Parcel  in)

Member Function Documentation

int com.sygic.sdk.position.GeoBoundingBox.describeContents ( )

For documentation, see android.os.Parcelable.describeContents().

boolean com.sygic.sdk.position.GeoBoundingBox.equals ( Object  o)
GeoCoordinates com.sygic.sdk.position.GeoBoundingBox.getBottomRight ( )
GeoCoordinates com.sygic.sdk.position.GeoBoundingBox.getTopLeft ( )
double com.sygic.sdk.position.GeoBoundingBox.getWidth ( )
int com.sygic.sdk.position.GeoBoundingBox.hashCode ( )
boolean com.sygic.sdk.position.GeoBoundingBox.isValid ( )
String com.sygic.sdk.position.GeoBoundingBox.toString ( )
void com.sygic.sdk.position.GeoBoundingBox.union ( final @NonNull GeoCoordinates  coords)
void com.sygic.sdk.position.GeoBoundingBox.union ( final @NonNull GeoBoundingBox  other)
void com.sygic.sdk.position.GeoBoundingBox.writeToParcel ( final Parcel  dest,
final int  flags 

For documentation, see android.os.Parcelable.writeToParcel().

Member Data Documentation

final Creator<GeoBoundingBox> com.sygic.sdk.position.GeoBoundingBox.CREATOR
Initial value:
= new Creator<GeoBoundingBox>() {
public GeoBoundingBox createFromParcel(final Parcel source) {
return new GeoBoundingBox(source);
public GeoBoundingBox[] newArray(final int size) {
return new GeoBoundingBox[size];

The documentation for this class was generated from the following file: