All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.tsingjyujing.geo.basic.operations.GeoDistanceMeasurable.scala Maven / Gradle / Ivy

There is a newer version: 2.8.9-2.11
Show newest version
package com.github.tsingjyujing.geo.basic.operations

/**
  * Distance between type T and this
  *
  * @author [email protected]
  * @tparam T type of the object to compare
  */
trait GeoDistanceMeasurable[T <: GeoDistanceMeasurable[T]] {

    /**
      * Get distance from this to point or point to this (should be same)
      *
      * @param point geo point
      * @return
      */
    def geoTo(point: T): Double
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy