zrj
2024-08-20 8b7b86f12fab51fe21b5575f4ffd524fbeaf412b
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
package com.dji.sample.patches.kml;
 
import java.util.List;
import de.micromata.opengis.kml.v_2_2_0.Coordinate;
/**
 * kml 基类,将name、description、List<Coordinate>进行统一封装
 * @author 夜郎king
 */
public class KmlBaseEntity {
    private List<Coordinate> points;
    private String name;
    private String description;
    public List<Coordinate> getPoints() {
        return points;
    }
    public void setPoints(List<Coordinate> points) {
        this.points = points;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public KmlBaseEntity(List<Coordinate> points, String name, String description) {
        super();
        this.points = points;
        this.name = name;
        this.description = description;
    }
    public KmlBaseEntity() {
        super();
    }
}