Class SpheroidDistance

  • All Implemented Interfaces:
    org.locationtech.jts.index.strtree.ItemDistance

    public class SpheroidDistance
    extends Object
    implements org.locationtech.jts.index.strtree.ItemDistance
    • Constructor Detail

      • SpheroidDistance

        public SpheroidDistance()
    • Method Detail

      • distance

        public double distance​(org.locationtech.jts.index.strtree.ItemBoundable item1,
                               org.locationtech.jts.index.strtree.ItemBoundable item2)
        Specified by:
        distance in interface org.locationtech.jts.index.strtree.ItemDistance
      • distance

        public double distance​(org.locationtech.jts.geom.Geometry geometry1,
                               org.locationtech.jts.geom.Geometry geometry2)