Preparing search index...
The search index is not available
Swim
Swim
@swim/geo
GeoSpline
Class GeoSpline
Hierarchy
GeoCurve
GeoSpline
Implements
Debug
Index
Constructors
constructor
Properties
curves
Accessors
bounds
lat
Max
lat
Min
lng
Max
lng
Min
Methods
contains
debug
equals
equivalent
To
for
Each
Coord
for
Each
Coord
Rest
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
open
Constructors
constructor
new
Geo
Spline
(
curves
,
closed
)
:
GeoSpline
Parameters
curves
:
readonly
GeoCurve
[]
closed
:
boolean
Returns
GeoSpline
Properties
Readonly
curves
curves
:
readonly
GeoCurve
[]
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
)
:
boolean
Parameters
that
:
GeoShapeLike
Returns
boolean
contains
(
lng
,
lat
)
:
boolean
Parameters
lng
:
number
lat
:
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
for
Each
Coord
Rest
for
Each
Coord
Rest
<
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
Rest
<
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
Returns
void
project
project
(
f
)
:
R2Spline
Parameters
f
:
GeoProjection
Returns
R2Spline
split
split
(
u
)
:
[
GeoSpline
,
GeoSpline
]
Parameters
u
:
number
Returns
[
GeoSpline
,
GeoSpline
]
subdivide
subdivide
(
u
)
:
GeoSpline
Parameters
u
:
number
Returns
GeoSpline
to
String
to
String
(
)
:
string
Returns
string
union
union
(
that
)
:
GeoShape
Parameters
that
:
GeoShapeLike
Returns
GeoShape
Static
builder
builder
(
)
:
GeoSplineBuilder
Returns
GeoSplineBuilder
Static
closed
closed
(
...
curves
)
:
GeoSpline
Parameters
Rest
...
curves
:
GeoCurve
[]
Returns
GeoSpline
Static
empty
empty
(
)
:
GeoSpline
Returns
GeoSpline
Static
from
Like
from
Like
<
T
>
(
value
)
:
GeoSpline
|
Uninitable
<
T
>
Type Parameters
T
extends
GeoSplineLike
Parameters
value
:
T
Returns
GeoSpline
|
Uninitable
<
T
>
from
Like
<
T
>
(
value
)
:
never
Type Parameters
T
extends
GeoShapeLike
Parameters
value
:
T
Returns
never
Static
from
Points
from
Points
(
points
)
:
GeoSpline
Parameters
points
:
GeoSplinePoints
Returns
GeoSpline
Static
open
open
(
...
curves
)
:
GeoSpline
Parameters
Rest
...
curves
:
GeoCurve
[]
Returns
GeoSpline
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
curves
bounds
lat
Max
lat
Min
lng
Max
lng
Min
contains
debug
equals
equivalent
To
for
Each
Coord
for
Each
Coord
Rest
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
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