Class Vector3d


  • public class Vector3d
    extends Object
    • Constructor Detail

      • Vector3d

        public Vector3d​(double x,
                        double y,
                        double z)
    • Method Detail

      • getX

        public double getX()
      • getY

        public double getY()
      • getZ

        public double getZ()
      • times

        public Vector3d times​(double scale)
      • dot

        public double dot​(Vector3d v)
      • length

        public double length()
      • unit

        public Vector3d unit()
        Normalize vector to its unit length vector
      • angleTo

        public double angleTo​(Vector3d v,
                              Vector3d vSign)
        Calculates the angle between ‘this’ vector and supplied vector.
      • angleTo

        public double angleTo​(Vector3d v)
        Calculates the angle between ‘this’ vector and supplied vector.
      • rotateAround

        public Vector3d rotateAround​(Vector3d axis,
                                     double theta)
        Rotates ‘this’ point around an axis by a specified angle.
      • applyTransform

        public Vector3d applyTransform​(HelmertTransform t)
        Applies Helmert transform to ‘this’ point using transform parameters t.
      • toLatLon

        public LatLonE toLatLon​(LatLonDatum datum)
        Converts ‘this’ point from cartesian (x/y/z) coordinates to polar (lat/lon) coordinates on specified datum.