public class ContourLinePolygon extends ContourLine
LatLon
.globeStateKey, maxConnectingDistance
Constructor and Description |
---|
ContourLinePolygon() |
ContourLinePolygon(double elevation) |
ContourLinePolygon(double elevation,
ArrayList<? extends LatLon> positions) |
Modifier and Type | Method and Description |
---|---|
protected ArrayList<Intersection> |
filterIntersections(DrawContext dc,
ArrayList<Intersection> list)
Filters the given intersection segments list according to some criteria - here the inclusion inside the current
polygon.
|
List<? extends LatLon> |
getPositions()
Get the list of
LatLon that describe the current bounding polygon. |
void |
setPositions(ArrayList<? extends LatLon> positions)
Set the list of
LatLon that describes a closed polygon - one which last position is equal to the first,
used to delineate the extent of the contour line. |
filterIntersectionsOnViewFrustum, getColor, getElevation, getLineWidth, getRenderables, getSector, isEnabled, isValid, isViewClippingEnabled, makeContourLine, makePolylinesConnected, render, setColor, setElevation, setEnabled, setLineWidth, setSector, setViewClippingEnabled, update
public ContourLinePolygon()
public ContourLinePolygon(double elevation)
protected ArrayList<Intersection> filterIntersections(DrawContext dc, ArrayList<Intersection> list)
filterIntersections
in class ContourLine
dc
- the current DrawContext
list
- the list of Intersection
to be filtered.public List<? extends LatLon> getPositions()
LatLon
that describe the current bounding polygon.LatLon
that describe the current bounding polygon.public void setPositions(ArrayList<? extends LatLon> positions)
LatLon
that describes a closed polygon - one which last position is equal to the first,
used to delineate the extent of the contour line.positions
- the list of LatLon
that describe a closed polygon.IllegalArgumentException
- if positions is null
.