Package

com.github.tsingjyujing.geo.basic

operations

Permalink

package operations

Visibility
  1. Public
  2. All

Type Members

  1. trait Addable[T <: Addable[T]] extends AnyRef

    Permalink

    Define a add group

    Define a add group

    T

    element type

  2. trait Angleable[T] extends AnyRef

    Permalink

    Which can get angle between this to T (use rad as unit) Commonly, we use classOf[this] as T for symmetry

    Which can get angle between this to T (use rad as unit) Commonly, we use classOf[this] as T for symmetry

    T

    Type of the object to compare

  3. trait DistanceMeasurable[T <: DistanceMeasurable[T]] extends AnyRef

    Permalink

    Distance between type T and this

    Distance between type T and this

    T

    type of the object to compare

  4. trait GeoDistanceMeasurable[T <: GeoDistanceMeasurable[T]] extends AnyRef

    Permalink

    Distance between type T and this

    Distance between type T and this

    T

    type of the object to compare

  5. trait GeoJSONable extends AnyRef

    Permalink

    Object which can convert to GeoJSON, for more details, see: http://geojson.org/

  6. trait GeoTransformable extends AnyRef

    Permalink

    For Chinese only 注意转换后坐标的逆转换在一些国家和地区是违法的 我愿意对自己的代码承担风险 但是该逆转方法也不能保证全局都能做到无误差,也不保证所有的逆向方法都有效 因为部分加密方法存在一定的信息损失,这些损失不一定能恢复 在生效区域全局都是单射单变量复函数的加密方法在本函数面前都是渣渣 如果坐标形式和经纬度差距太大可以采用线性回归变为近似线性以后再利用本方法

    For Chinese only 注意转换后坐标的逆转换在一些国家和地区是违法的 我愿意对自己的代码承担风险 但是该逆转方法也不能保证全局都能做到无误差,也不保证所有的逆向方法都有效 因为部分加密方法存在一定的信息损失,这些损失不一定能恢复 在生效区域全局都是单射单变量复函数的加密方法在本函数面前都是渣渣 如果坐标形式和经纬度差距太大可以采用线性回归变为近似线性以后再利用本方法

    Version

    1.0

    Since

    2.3

  7. trait IContains[T] extends AnyRef

    Permalink

    T

    element type

  8. trait IHashedIndex[T] extends AnyRef

    Permalink

    Which class can get an indexed hash the index code should be unique to avoid duplication in Set or other data structures

    Which class can get an indexed hash the index code should be unique to avoid duplication in Set or other data structures

    T

    should have a great randomly hashCode, recommend use Long, Int, avoid using String or Double

  9. trait IValue[+T] extends AnyRef

    Permalink

    to pack a value with some type you can make a collection with type _<:IValue[T] and getValue as T foreach

    to pack a value with some type you can make a collection with type _<:IValue[T] and getValue as T foreach

    T

    value type

  10. trait IVector extends Normable with Iterable[Double]

    Permalink

    This vector is not same in Scala's scala.collection.immutable.Vector it means a point in N-dimensional Euclid space

  11. trait InnerProductable[T] extends AnyRef

    Permalink

    Which can get inner product to another object by given type T

    Which can get inner product to another object by given type T

    T

    Type of the object to compare

  12. trait Jaccardable[T <: Jaccardable[T]] extends AnyRef

    Permalink

    Object which can get jaccard similarity and distance

    Object which can get jaccard similarity and distance

    T

    Type to compare with

  13. trait Normable extends AnyRef

    Permalink

  14. trait OuterProductable[TI <: OuterProductable[TI, TO], TO] extends AnyRef

    Permalink

    Commonly used in IVector3 V1×V2->V3 The common define is

    Commonly used in IVector3 V1×V2->V3 The common define is

    See Outer Product for more details

    TI

    type to get TO

    TO

    result type

  15. trait Productable[T <: Productable[T]] extends AnyRef

    Permalink

    Define a monoid which has product operation

    Define a monoid which has product operation

    T

    Type of self extends this

Value Members

  1. object GeoJSONable

    Permalink

    Common utils of generating GeoJSON object

  2. object Jaccardable

    Permalink
  3. object Normable

    Permalink

Ungrouped