Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/geo
GeoPoint
Class GeoPoint
Hierarchy
GeoShape
GeoPoint
Implements
Interpolate
<
GeoPoint
>
HashCode
Equivalent
Debug
Index
Constructors
constructor
Properties
lat
lng
Accessors
bounds
lat
Max
lat
Min
lng
Max
lng
Min
Methods
contains
debug
equals
equivalent
To
hash
Code
interpolate
To
intersects
is
Defined
normalized
project
to
Any
to
String
union
from
Any
from
Init
from
Tuple
is
Any
is
Init
is
Tuple
normalize
Lat
normalize
Lng
normalized
of
origin
undefined
Constructors
constructor
new
Geo
Point
(
lng
:
number
, lat
:
number
)
:
GeoPoint
Parameters
lng:
number
lat:
number
Returns
GeoPoint
Properties
Readonly
lat
lat
:
number
Readonly
lng
lng
:
number
Accessors
bounds
get
bounds
(
)
:
GeoBox
Returns
GeoBox
lat
Max
get
latMax
(
)
:
number
Returns
number
lat
Min
get
latMin
(
)
:
number
Returns
number
lng
Max
get
lngMax
(
)
:
number
Returns
number
lng
Min
get
lngMin
(
)
:
number
Returns
number
Methods
contains
contains
(
that
:
AnyGeoShape
)
:
boolean
contains
(
lng
:
number
, lat
:
number
)
:
boolean
Parameters
that:
AnyGeoShape
Returns
boolean
Parameters
lng:
number
lat:
number
Returns
boolean
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
:
unknown
, epsilon
?:
number
)
:
boolean
Parameters
that:
unknown
Optional
epsilon:
number
Returns
boolean
hash
Code
hash
Code
(
)
:
number
Returns
number
interpolate
To
interpolate
To
(
that
:
GeoPoint
)
:
Interpolator
<
GeoPoint
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
GeoPoint
>
Parameters
that:
GeoPoint
Returns
Interpolator
<
GeoPoint
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
GeoPoint
>
intersects
intersects
(
that
:
AnyGeoShape
)
:
boolean
Parameters
that:
AnyGeoShape
Returns
boolean
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
normalized
normalized
(
)
:
GeoPoint
Returns
GeoPoint
project
project
(
f
:
GeoProjection
)
:
R2Point
Parameters
f:
GeoProjection
Returns
R2Point
to
Any
to
Any
(
)
:
GeoPointInit
Returns
GeoPointInit
to
String
to
String
(
)
:
string
Returns
string
union
union
(
that
:
AnyGeoShape
)
:
GeoShape
Parameters
that:
AnyGeoShape
Returns
GeoShape
Static
from
Any
from
Any
(
value
:
AnyGeoPoint
)
:
GeoPoint
Parameters
value:
AnyGeoPoint
Returns
GeoPoint
Static
from
Init
from
Init
(
value
:
GeoPointInit
)
:
GeoPoint
Parameters
value:
GeoPointInit
Returns
GeoPoint
Static
from
Tuple
from
Tuple
(
value
:
GeoPointTuple
)
:
GeoPoint
Parameters
value:
GeoPointTuple
Returns
GeoPoint
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyGeoPoint
Parameters
value:
unknown
Returns
value
is
AnyGeoPoint
Static
is
Init
is
Init
(
value
:
unknown
)
:
value
is
GeoPointInit
Parameters
value:
unknown
Returns
value
is
GeoPointInit
Static
is
Tuple
is
Tuple
(
value
:
unknown
)
:
value
is
GeoPointTuple
Parameters
value:
unknown
Returns
value
is
GeoPointTuple
Static
normalize
Lat
normalize
Lat
(
lat
:
number
)
:
number
Parameters
lat:
number
Returns
number
Static
normalize
Lng
normalize
Lng
(
lng
:
number
)
:
number
Parameters
lng:
number
Returns
number
Static
normalized
normalized
(
lng
:
number
, lat
:
number
)
:
GeoPoint
Parameters
lng:
number
lat:
number
Returns
GeoPoint
Static
of
of
(
lng
:
number
, lat
:
number
)
:
GeoPoint
Parameters
lng:
number
lat:
number
Returns
GeoPoint
Static
origin
origin
(
)
:
GeoPoint
Returns
GeoPoint
Static
undefined
undefined
(
)
:
GeoPoint
Returns
GeoPoint
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Geo
Point
constructor
lat
lng
bounds
lat
Max
lat
Min
lng
Max
lng
Min
contains
debug
equals
equivalent
To
hash
Code
interpolate
To
intersects
is
Defined
normalized
project
to
Any
to
String
union
from
Any
from
Init
from
Tuple
is
Any
is
Init
is
Tuple
normalize
Lat
normalize
Lng
normalized
of
origin
undefined
Generated using
TypeDoc