# Class: BoundingBox

## (abstract) bemap.BoundingBox(minLat, minLon, maxLat, maxLon)

Base class for boudingBox.

## Constructor

#### (abstract) new BoundingBox(minLat, minLon, maxLat, maxLon)

##### Parameters:

Name | Type | Description
--- | --- | ---
`minLat` | double | the minimal latitude of the bounding box.
`minLon` | double | the minimal longitude of the bounding box.
`maxLat` | double | the maximal latitude of the bounding box.
`maxLon` | double | the maximal longitude of the bounding box.

Source:
  - bemap-model/bemap-boundingBox.js, line 16

### Members

#### (protected) maxLat :double

##### Type:

- double

Source:
  - bemap-model/bemap-boundingBox.js, line 27

#### (protected) maxLon :double

##### Type:

- double

Source:
  - bemap-model/bemap-boundingBox.js, line 39

#### (protected) minLat :double

##### Type:

- double

Source:
  - bemap-model/bemap-boundingBox.js, line 21

#### (protected) minLon :double

##### Type:

- double

Source:
  - bemap-model/bemap-boundingBox.js, line 33

### Methods

#### getMax() → {bemap.Coordinate}

Get the maximal coordinates of the bounding box.

Source:
  - bemap-model/bemap-boundingBox.js, line 78

##### Returns:

the maximal coordinates.

Type
  bemap.Coordinate

#### getMaxLat() → {double}

Get the maximal latitude of the bounding box.

Source:
  - bemap-model/bemap-boundingBox.js, line 70

##### Returns:

the maximal latitude.

Type
  double

#### getMaxLon() → {double}

Get the maximal longitude of the bounding box.

Source:
  - bemap-model/bemap-boundingBox.js, line 54

##### Returns:

the maximal longitude.

Type
  double

#### getMin() → {bemap.Coordinate}

Get the minimal coordinates of the bounding box.

Source:
  - bemap-model/bemap-boundingBox.js, line 86

##### Returns:

the minimal coordinates.

Type
  bemap.Coordinate

#### getMinLat() → {double}

Get the minimal latitude of the bounding box.

Source:
  - bemap-model/bemap-boundingBox.js, line 62

##### Returns:

the minimal latitude.

Type
  double

#### getMinLon() → {double}

Get the minimal longitude of the bounding box.

Source:
  - bemap-model/bemap-boundingBox.js, line 46

##### Returns:

the minimal longitude.

Type
  double

#### setMax(max) → {bemap.BoundingBox}

Set the maximal coordinates of the bounding box.

##### Parameters:

Name | Type | Description
--- | --- | ---
`max` | bemap.Coordinate | the new maximal coordinates to set.

Source:
  - bemap-model/bemap-boundingBox.js, line 135

##### Returns:

this;

Type
  bemap.BoundingBox

#### setMaxLat(maxLat) → {bemap.BoundingBox}

Set the maximal latitude of the bounding box.

##### Parameters:

Name | Type | Description
--- | --- | ---
`maxLat` | double | the new maximal latitude to set.

Source:
  - bemap-model/bemap-boundingBox.js, line 125

##### Returns:

this;

Type
  bemap.BoundingBox

#### setMaxLon(maxLon) → {bemap.BoundingBox}

Set the maximal longitude of the bounding box.

##### Parameters:

Name | Type | Description
--- | --- | ---
`maxLon` | double | the new maximal longitude to set.

Source:
  - bemap-model/bemap-boundingBox.js, line 105

##### Returns:

this;

Type
  bemap.BoundingBox

#### setMin(min) → {bemap.BoundingBox}

Set the minimal coordinates of the bounding box.

##### Parameters:

Name | Type | Description
--- | --- | ---
`min` | bemap.Coordinate | the new minimal coordinates to set.

Source:
  - bemap-model/bemap-boundingBox.js, line 146

##### Returns:

this;

Type
  bemap.BoundingBox

#### setMinLat(minLat) → {bemap.BoundingBox}

Set the minimal latitude of the bounding box.

##### Parameters:

Name | Type | Description
--- | --- | ---
`minLat` | double | the new minimal latitude to set.

Source:
  - bemap-model/bemap-boundingBox.js, line 115

##### Returns:

this;

Type
  bemap.BoundingBox

#### setMinLon(minLon) → {bemap.BoundingBox}

Set the minimal longitude of the bounding box.

##### Parameters:

Name | Type | Description
--- | --- | ---
`minLon` | double | the new minimal longitude to set.

Source:
  - bemap-model/bemap-boundingBox.js, line 95

##### Returns:

this;

Type
  bemap.BoundingBox