Package gaiasky.util.gaia.utils
Interface Area
- All Known Implementing Classes:
CircleArea,ComplexArea
public interface Area
-
Method Summary
Modifier and Type Method Description doublealtitude(Place spinAxisPlace)Determine the minimum angle between a great circle and the Area boundarybooleancontains(Place p)Determine whether a given Place is within the AreaPlacegetMidPoint()Determine the weighted mid-point of the AreadoublegetWeight()Determine the weight of the Area
-
Method Details
-
altitude
Determine the minimum angle between a great circle and the Area boundary- Parameters:
spinAxisPlace- great circle pole given as a Place- Returns:
- minimum angle [rad]
-
contains
Determine whether a given Place is within the Area- Parameters:
p- the Place- Returns:
- true if p is within the Area
-
getMidPoint
Place getMidPoint()Determine the weighted mid-point of the Area- Returns:
- the centre
-
getWeight
double getWeight()Determine the weight of the Area- Returns:
- the weight
-