Class Polygon
java.lang.Object
de.kaffeemitkoffein.tinyweatherforecastgermany.Polygon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPolygonArraylistFromString(String source) floatgetPolygonX(int pos) floatfloatgetPolygonY(int pos) floatbooleanisInPolygon(float testx, float testy) booleanisInPolygon(Weather.WeatherLocation weatherLocation)
-
Field Details
-
polygonX
public float[] polygonX -
polygonY
public float[] polygonY -
identifier_link
-
-
Constructor Details
-
Polygon
public Polygon(int n) -
Polygon
-
Polygon
-
Polygon
-
-
Method Details
-
getPolygonX
public float getPolygonX(int pos) -
getPolygonY
public float getPolygonY(int pos) -
getPolygonXCentroid
public float getPolygonXCentroid() -
getPolygonYCentroid
public float getPolygonYCentroid() -
isInPolygon
public boolean isInPolygon(float testx, float testy) -
isInPolygon
-
getPolygonArraylistFromString
-