Package gaiasky.util.gaia.utils
Interface Area
-
- All Known Implementing Classes:
CircleArea
,ComplexArea
public interface Area
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
altitude(Place spinAxisPlace)
Determine the minimum angle between a great circle and the Area boundaryboolean
contains(Place p)
Determine whether a given Place is within the AreaPlace
getMidPoint()
Determine the weighted mid-point of the Areadouble
getWeight()
Determine the weight of the Area
-
-
-
Method Detail
-
altitude
double altitude(Place spinAxisPlace)
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
boolean contains(Place p)
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
-
-