| 构造器 | 说明 |
|---|---|
Polyline() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Extent |
getExtent() |
Get extent
|
double |
getLength() |
Get length
|
double[] |
getLengths() |
Get lengths of each segment
|
List<? extends PointD> |
getPointList() |
Get point list
|
List<double[]> |
getPositions(double aLen) |
Get position list: x, y, angle
|
boolean |
isClosed() |
Determine if the polyline is closed
|
void |
setPointList(List<? extends PointD> points) |
Set point list
|
void |
setPoints(PointF[] points) |
Set points
|
public void setPointList(List<? extends PointD> points)
points - point listpublic Extent getExtent()
public void setPoints(PointF[] points)
points - point arraypublic boolean isClosed()
public double getLength()
public double[] getLengths()
public List<double[]> getPositions(double aLen)
aLen - segment lengthCopyright © 2019. All rights reserved.