com.github.tsingjyujing.geo.element.immutable.GeoPointValued.scala Maven / Gradle / Ivy
package com.github.tsingjyujing.geo.element.immutable
import com.github.tsingjyujing.geo.basic.IGeoPoint
import com.github.tsingjyujing.geo.basic.operations.IValue
/**
* Get a geo point with value
*
* @param longitude
* @param latitude
* @param value
* @tparam T value type
*/
final case class GeoPointValued[T](longitude: Double, latitude: Double, value: T) extends IGeoPoint with IValue[T] {
override def getLongitude: Double = longitude
override def getLatitude: Double = latitude
override def getValue: T = value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy