public class ContourLinePolygon extends ContourLine
LatLon
.globeStateKey, maxConnectingDistance
Constructor and Description |
---|
ContourLinePolygon() |
ContourLinePolygon(double elevation) |
ContourLinePolygon(double elevation,
java.util.ArrayList<? extends LatLon> positions) |
Modifier and Type | Method and Description |
---|---|
protected java.util.ArrayList<Intersection> |
filterIntersections(DrawContext dc,
java.util.ArrayList<Intersection> list)
Filters the given intersection segments list according to some criteria - here the inclusion inside the current
polygon.
|
java.util.List<? extends LatLon> |
getPositions()
Get the list of
LatLon that describe the current bounding polygon. |
void |
setPositions(java.util.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)
public ContourLinePolygon(double elevation, java.util.ArrayList<? extends LatLon> positions)
protected java.util.ArrayList<Intersection> filterIntersections(DrawContext dc, java.util.ArrayList<Intersection> list)
filterIntersections
in class ContourLine
dc
- the current DrawContext
list
- the list of Intersection
to be filtered.public java.util.List<? extends LatLon> getPositions()
LatLon
that describe the current bounding polygon.LatLon
that describe the current bounding polygon.public void setPositions(java.util.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.java.lang.IllegalArgumentException
- if positions is null
.