Interface Area

All Known Implementing Classes:
CircleArea, ComplexArea

public interface Area
  • Method Summary

    Modifier and Type Method Description
    double altitude​(Place spinAxisPlace)
    Determine the minimum angle between a great circle and the Area boundary
    boolean contains​(Place p)
    Determine whether a given Place is within the Area
    Place getMidPoint()
    Determine the weighted mid-point of the Area
    double getWeight()
    Determine the weight of the Area
  • Method Details

    • 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