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
GeoBox
Class GeoBox
Hierarchy
GeoShape
GeoBox
Implements
Interpolate
<
GeoBox
>
HashCode
Equivalent
Debug
Index
Constructors
constructor
Properties
lat
Max
lat
Min
lng
Max
lng
Min
Accessors
bounds
center
east
north
north
East
north
West
south
south
East
south
West
west
Methods
contains
contains
Box
contains
Point
contains
Segment
contains
Tile
debug
equals
equivalent
To
hash
Code
interpolate
To
intersects
intersects
Box
intersects
Point
intersects
Segment
intersects
Tile
is
Defined
project
to
Any
to
String
union
from
Any
from
Init
globe
is
Any
is
Init
of
undefined
Constructors
constructor
new
Geo
Box
(
lngMin
:
number
, latMin
:
number
, lngMax
:
number
, latMax
:
number
)
:
GeoBox
Parameters
lngMin:
number
latMin:
number
lngMax:
number
latMax:
number
Returns
GeoBox
Properties
Readonly
lat
Max
lat
Max
:
number
Readonly
lat
Min
lat
Min
:
number
Readonly
lng
Max
lng
Max
:
number
Readonly
lng
Min
lng
Min
:
number
Accessors
bounds
get
bounds
(
)
:
GeoBox
Returns
GeoBox
center
get
center
(
)
:
GeoPoint
Returns
GeoPoint
east
get
east
(
)
:
number
Returns
number
north
get
north
(
)
:
number
Returns
number
north
East
get
northEast
(
)
:
GeoPoint
Returns
GeoPoint
north
West
get
northWest
(
)
:
GeoPoint
Returns
GeoPoint
south
get
south
(
)
:
number
Returns
number
south
East
get
southEast
(
)
:
GeoPoint
Returns
GeoPoint
south
West
get
southWest
(
)
:
GeoPoint
Returns
GeoPoint
west
get
west
(
)
:
number
Returns
number
Methods
contains
contains
(
that
:
AnyGeoPoint
|
AnyGeoBox
)
:
boolean
contains
(
lng
:
number
, lat
:
number
)
:
boolean
Parameters
that:
AnyGeoPoint
|
AnyGeoBox
Returns
boolean
Parameters
lng:
number
lat:
number
Returns
boolean
contains
Box
contains
Box
(
that
:
GeoBox
)
:
boolean
internal
Parameters
that:
GeoBox
Returns
boolean
contains
Point
contains
Point
(
that
:
GeoPoint
)
:
boolean
internal
Parameters
that:
GeoPoint
Returns
boolean
contains
Segment
contains
Segment
(
that
:
GeoSegment
)
:
boolean
internal
Parameters
that:
GeoSegment
Returns
boolean
contains
Tile
contains
Tile
(
that
:
GeoTile
)
:
boolean
internal
Parameters
that:
GeoTile
Returns
boolean
debug
debug<T>
(
output
:
Output
<
T
>
)
:
Output
<
T
>
Type parameters
T
Parameters
output:
Output
<
T
>
Returns
Output
<
T
>
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
:
GeoBox
)
:
Interpolator
<
GeoBox
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
GeoBox
>
Parameters
that:
GeoBox
Returns
Interpolator
<
GeoBox
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
GeoBox
>
intersects
intersects
(
that
:
AnyGeoPoint
|
AnyGeoBox
)
:
boolean
Parameters
that:
AnyGeoPoint
|
AnyGeoBox
Returns
boolean
intersects
Box
intersects
Box
(
that
:
GeoBox
)
:
boolean
internal
Parameters
that:
GeoBox
Returns
boolean
intersects
Point
intersects
Point
(
that
:
GeoPoint
)
:
boolean
internal
Parameters
that:
GeoPoint
Returns
boolean
intersects
Segment
intersects
Segment
(
that
:
GeoSegment
)
:
boolean
internal
Parameters
that:
GeoSegment
Returns
boolean
intersects
Tile
intersects
Tile
(
that
:
GeoTile
)
:
boolean
internal
Parameters
that:
GeoTile
Returns
boolean
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
project
project
(
f
:
GeoProjection
)
:
R2Box
Parameters
f:
GeoProjection
Returns
R2Box
to
Any
to
Any
(
)
:
GeoBoxInit
Returns
GeoBoxInit
to
String
to
String
(
)
:
string
Returns
string
union
union
(
that
:
AnyGeoShape
)
:
GeoBox
Parameters
that:
AnyGeoShape
Returns
GeoBox
Static
from
Any
from
Any
(
value
:
AnyGeoBox
)
:
GeoBox
Parameters
value:
AnyGeoBox
Returns
GeoBox
Static
from
Init
from
Init
(
value
:
GeoBoxInit
)
:
GeoBox
Parameters
value:
GeoBoxInit
Returns
GeoBox
Static
globe
globe
(
)
:
GeoBox
Returns
GeoBox
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyGeoBox
internal
Parameters
value:
unknown
Returns
value
is
AnyGeoBox
Static
is
Init
is
Init
(
value
:
unknown
)
:
value
is
GeoBoxInit
internal
Parameters
value:
unknown
Returns
value
is
GeoBoxInit
Static
of
of
(
lngMin
:
number
, latMin
:
number
, lngMax
?:
number
, latMax
?:
number
)
:
GeoBox
Parameters
lngMin:
number
latMin:
number
Optional
lngMax:
number
Optional
latMax:
number
Returns
GeoBox
Static
undefined
undefined
(
)
:
GeoBox
Returns
GeoBox
Modules
@swim/runtime
@swim/core
@swim/util
@swim/codec
@swim/fastener
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/host
@swim/toolkit
Geo
Box
constructor
lat
Max
lat
Min
lng
Max
lng
Min
bounds
center
east
north
north
East
north
West
south
south
East
south
West
west
contains
contains
Box
contains
Point
contains
Segment
contains
Tile
debug
equals
equivalent
To
hash
Code
interpolate
To
intersects
intersects
Box
intersects
Point
intersects
Segment
intersects
Tile
is
Defined
project
to
Any
to
String
union
from
Any
from
Init
globe
is
Any
is
Init
of
undefined
Generated using
TypeDoc