Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "proj/common"

Index

Functions

Const coordsEquals

  • coordsEquals(c1: number[], c2: number[]): boolean
  • whether two coordinates are equivalent

    Parameters

    • c1: number[]

      coordinate 1

    • c2: number[]

      coordinate 2

    Returns boolean

    equals or not

Const transformChain

  • transformChain(f1: TransformFunction, f2: TransformFunction): (Anonymous function)
  • transform a coordinate between more than two projection projection1 -(f1)-> projection2 -(f2)-> projection3

    Parameters

    • f1: TransformFunction

      the first transform

    • f2: TransformFunction

      the sconed transform

    Returns (Anonymous function)

    a new transformation func which can transform a coordinate from projection a to projection b and then projection c

Generated using TypeDoc