Preparing search index...
The search index is not available
Swim
Swim
@swim/geo
GeoPath
Class GeoPath
Hierarchy
GeoShape
GeoPath
Implements
Debug
Index
Constructors
constructor
Properties
splines
Accessors
bounds
lat
Max
lat
Min
lng
Max
lng
Min
Methods
centroid
contains
debug
equals
equivalent
To
for
Each
Coord
interpolate
interpolate
Lat
interpolate
Lng
intersects
is
Closed
is
Defined
like
Type?
project
split
subdivide
to
String
union
builder
closed
empty
from
Like
from
Points
from
Splines
of
open
Constructors
constructor
new
Geo
Path
(
splines
)
:
GeoPath
Parameters
splines
:
readonly
GeoSpline
[]
Returns
GeoPath
Properties
Readonly
splines
splines
:
readonly
GeoSpline
[]
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
centroid
centroid
(
)
:
GeoPoint
Returns
GeoPoint
contains
contains
(
that
)
:
boolean
Parameters
that
:
GeoShapeLike
Returns
boolean
contains
(
x
,
y
)
:
boolean
Parameters
x
:
number
y
:
number
Returns
boolean
debug
debug
<
T
>
(
output
)
:
Output
<
T
>
Type Parameters
T
Parameters
output
:
Output
<
T
>
Returns
Output
<
T
>
equals
equals
(
that
)
:
boolean
Parameters
that
:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
,
epsilon
?
)
:
boolean
Parameters
that
:
unknown
Optional
epsilon
:
number
Returns
boolean
for
Each
Coord
for
Each
Coord
<
R
>
(
callback
)
:
R
Type Parameters
R
Parameters
callback
:
(
(
lng
,
lat
)
=>
void
|
R
)
(
lng
,
lat
)
:
void
|
R
Parameters
lng
:
number
lat
:
number
Returns
void
|
R
Returns
R
for
Each
Coord
<
R
,
S
>
(
callback
,
thisArg
)
:
R
Type Parameters
R
S
Parameters
callback
:
(
(
this
,
lng
,
lat
)
=>
void
|
R
)
(
this
,
lng
,
lat
)
:
void
|
R
Parameters
this
:
S
lng
:
number
lat
:
number
Returns
void
|
R
thisArg
:
S
Returns
R
interpolate
interpolate
(
u
)
:
GeoPoint
Parameters
u
:
number
Returns
GeoPoint
interpolate
Lat
interpolate
Lat
(
u
)
:
number
Parameters
u
:
number
Returns
number
interpolate
Lng
interpolate
Lng
(
u
)
:
number
Parameters
u
:
number
Returns
number
intersects
intersects
(
that
)
:
boolean
Parameters
that
:
GeoShapeLike
Returns
boolean
is
Closed
is
Closed
(
)
:
boolean
Returns
boolean
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
Optional
like
Type
like
Type
(
like
)
:
void
Parameters
like
:
GeoSplinePoints
|
GeoPathSplines
Returns
void
project
project
(
f
)
:
R2Path
Parameters
f
:
GeoProjection
Returns
R2Path
split
split
(
u
)
:
[
GeoPath
,
GeoPath
]
Parameters
u
:
number
Returns
[
GeoPath
,
GeoPath
]
subdivide
subdivide
(
u
)
:
GeoPath
Parameters
u
:
number
Returns
GeoPath
to
String
to
String
(
)
:
string
Returns
string
union
union
(
that
)
:
GeoShape
Parameters
that
:
GeoShapeLike
Returns
GeoShape
Static
builder
builder
(
)
:
GeoPathBuilder
Returns
GeoPathBuilder
Static
closed
closed
(
...
curves
)
:
GeoPath
Parameters
Rest
...
curves
:
GeoCurve
[]
Returns
GeoPath
Static
empty
empty
(
)
:
GeoPath
Returns
GeoPath
Static
from
Like
from
Like
<
T
>
(
value
)
:
GeoPath
|
Uninitable
<
T
>
Type Parameters
T
extends
GeoPathLike
Parameters
value
:
T
Returns
GeoPath
|
Uninitable
<
T
>
from
Like
<
T
>
(
value
)
:
never
Type Parameters
T
extends
GeoShapeLike
Parameters
value
:
T
Returns
never
Static
from
Points
from
Points
(
points
)
:
GeoPath
Parameters
points
:
GeoSplinePoints
Returns
GeoPath
Static
from
Splines
from
Splines
(
values
)
:
GeoPath
Parameters
values
:
GeoPathSplines
Returns
GeoPath
Static
of
of
(
...
splines
)
:
GeoPath
Parameters
Rest
...
splines
:
GeoSpline
[]
Returns
GeoPath
Static
open
open
(
...
curves
)
:
GeoPath
Parameters
Rest
...
curves
:
GeoCurve
[]
Returns
GeoPath
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
splines
bounds
lat
Max
lat
Min
lng
Max
lng
Min
centroid
contains
debug
equals
equivalent
To
for
Each
Coord
interpolate
interpolate
Lat
interpolate
Lng
intersects
is
Closed
is
Defined
like
Type
project
split
subdivide
to
String
union
builder
closed
empty
from
Like
from
Points
from
Splines
of
open
Swim
@swim/util
@swim/codec
@swim/component
@swim/collections
@swim/constraint
@swim/structure
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/warp
@swim/client
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/controller
@swim/button
Loading...
Generated using
TypeDoc