Package gaiasky.util.gaia.utils
Interface Area
- All Known Implementing Classes:
CircleArea
,ComplexArea
public interface Area
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Determine the minimum angle between a great circle and the Area boundaryboolean
Determine whether a given Place is within the AreaDetermine the weighted mid-point of the Areadouble
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
-