Project

General

Profile

Download (1.25 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2022 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.api.service.dto;
10

    
11
/**
12
 * @author a.mueller
13
 * @date 23.08.2022
14
 */
15
public class RectangleDTO {
16

    
17
    private final double lowerLeftLatitude;
18
    private final double lowerLeftLongitude;
19
    private final double upperRightLatitude;
20
    private final double upperRightLongitude;
21

    
22
    public RectangleDTO(double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude,
23
            double upperRightLongitude) {
24
        this.lowerLeftLatitude = lowerLeftLatitude;
25
        this.lowerLeftLongitude = lowerLeftLongitude;
26
        this.upperRightLatitude = upperRightLatitude;
27
        this.upperRightLongitude = upperRightLongitude;
28
    }
29

    
30
    public Double getLowerLeftLatitude() {
31
        return lowerLeftLatitude;
32
    }
33

    
34
    public double getLowerLeftLongitude() {
35
        return lowerLeftLongitude;
36
    }
37

    
38
    public double getUpperRightLatitude() {
39
        return upperRightLatitude;
40
    }
41

    
42
    public double getUpperRightLongitude() {
43
        return upperRightLongitude;
44
    }
45
}
(28-28/47)