1
13693261870
2024-09-30 d65a52359c57045d1fc8cb899893d8c22ce109c3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.se.simu.domain.dto;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
 
import java.util.ArrayList;
import java.util.List;
 
/**
 * 范围实体类
 *
 * @author WWW
 * @date   2024-09-30
 */
public class TerrainDto {
    private List<int[]> size;
 
    @JsonIgnore
    private String epsg;
 
    @JsonIgnore
    private double minHeight;
 
    @JsonIgnore
    private double maxHeight;
 
    public TerrainDto() {
    }
 
    public TerrainDto(List<Integer> sizes) {
        size = new ArrayList<>();
        for (Integer i : sizes) {
            size.add(new int[]{i, i});
        }
    }
 
    public void setHeight(double minHeight, double maxHeight) {
        this.minHeight = minHeight;
        this.maxHeight = maxHeight;
    }
 
    public List<int[]> getSize() {
        return size;
    }
 
    public void setSize(List<int[]> size) {
        this.size = size;
    }
 
    public String getEpsg() {
        return epsg;
    }
 
    public void setEpsg(String epsg) {
        this.epsg = epsg;
    }
 
    public double getMinHeight() {
        return minHeight;
    }
 
    public void setMinHeight(double minHeight) {
        this.minHeight = minHeight;
    }
 
    public double getMaxHeight() {
        return maxHeight;
    }
 
    public void setMaxHeight(double maxHeight) {
        this.maxHeight = maxHeight;
    }
}