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();
|
}
|
}
|