Class PolarCoor

    • Field Detail

      • radius

        public final double radius
        Radial coordinate (distance from the pole).
      • angle

        public final double angle
        Angular coordinate in radians.
      • pole

        public final EastNorth pole
        Reference point (analogous to the origin of a Cartesian coordinate system).
    • Constructor Detail

      • PolarCoor

        public PolarCoor​(double radius,
                         double angle)
        Constructs a new PolarCoor, using (0,0) as pole.
        Parameters:
        radius - radial coordinate (distance from the pole)
        angle - angular coordinate in radians
      • PolarCoor

        public PolarCoor​(double radius,
                         double angle,
                         EastNorth pole)
        Constructs a new PolarCoor.
        Parameters:
        radius - radial coordinate (distance from the pole)
        angle - angular coordinate in radians
        pole - reference point (analogous to the origin of a Cartesian coordinate system)
      • PolarCoor

        public PolarCoor​(EastNorth en)
        Constructs a new PolarCoor from an EastNorth, using (0,0) as pole.
        Parameters:
        en - east/north coordinates
      • PolarCoor

        public PolarCoor​(EastNorth en,
                         EastNorth pole)
        Constructs a new PolarCoor.
        Parameters:
        en - east/north coordinates
        pole - reference point (analogous to the origin of a Cartesian coordinate system)