Class ComplexArea
java.lang.Object
gaiasky.util.gaia.utils.ComplexArea
- All Implemented Interfaces:
Area
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoubleDetermine the minimum angle between a great circle and the Area boundarybooleanDetermine whether a given Place is within the AreaDetermine the weighted mid-point of the AreagetName()Get the name of the areagetRandomPlace(Random rnd) Get a random Place within the ComplexAreadoubledoubleDetermine the weight of the AreavoidSet the name of the area
-
Constructor Details
-
ComplexArea
public ComplexArea()
-
-
Method Details
-
add
-
altitude
-
contains
-
getMidPoint
Description copied from interface:AreaDetermine the weighted mid-point of the Area- Specified by:
getMidPointin interfaceArea- Returns:
- the centre
-
getWeight
-
getRandomPlace
-
getSquareDegrees
public double getSquareDegrees()- Returns:
- the solid angle [deg^2]
-
getListOfAreas
- Returns:
- the listOfAreas
-
getName
-
setName
-