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
GeoSpline
Class GeoSpline
Hierarchy
GeoCurve
GeoSpline
Implements
Debug
Index
Constructors
constructor
Properties
bounding
Box
closed
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
project
split
subdivide
to
String
union
builder
closed
empty
from
Any
from
Points
is
Any
is
Any
Spline
is
Points
open
Constructors
constructor
new
Geo
Spline
(
curves
:
readonly
GeoCurve
[]
, closed
:
boolean
)
:
GeoSpline
Parameters
curves:
readonly
GeoCurve
[]
closed:
boolean
Returns
GeoSpline
Properties
Readonly
bounding
Box
bounding
Box
:
null
|
GeoBox
Readonly
closed
closed
:
boolean
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
:
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
for
Each
Coord
for
Each
Coord<R>
(
callback
:
(
lng
:
number
, lat
:
number
)
=>
void
|
R
)
:
undefined
|
R
for
Each
Coord<R, S>
(
callback
:
(
lng
:
number
, lat
:
number
)
=>
void
|
R
, thisArg
:
S
)
:
undefined
|
R
Type parameters
R
Parameters
callback:
(
lng
:
number
, lat
:
number
)
=>
void
|
R
(
lng
:
number
, lat
:
number
)
:
void
|
R
Parameters
lng:
number
lat:
number
Returns
void
|
R
Returns
undefined
|
R
Type parameters
R
S
Parameters
callback:
(
lng
:
number
, lat
:
number
)
=>
void
|
R
(
lng
:
number
, lat
:
number
)
:
void
|
R
Parameters
lng:
number
lat:
number
Returns
void
|
R
thisArg:
S
Returns
undefined
|
R
for
Each
Coord
Rest
for
Each
Coord
Rest<R>
(
callback
:
(
lng
:
number
, lat
:
number
)
=>
void
|
R
)
:
undefined
|
R
for
Each
Coord
Rest<R, S>
(
callback
:
(
lng
:
number
, lat
:
number
)
=>
void
|
R
, thisArg
:
S
)
:
undefined
|
R
Type parameters
R
Parameters
callback:
(
lng
:
number
, lat
:
number
)
=>
void
|
R
(
lng
:
number
, lat
:
number
)
:
void
|
R
Parameters
lng:
number
lat:
number
Returns
void
|
R
Returns
undefined
|
R
Type parameters
R
S
Parameters
callback:
(
lng
:
number
, lat
:
number
)
=>
void
|
R
(
lng
:
number
, lat
:
number
)
:
void
|
R
Parameters
lng:
number
lat:
number
Returns
void
|
R
thisArg:
S
Returns
undefined
|
R
interpolate
interpolate
(
u
:
number
)
:
GeoPoint
Parameters
u:
number
Returns
GeoPoint
interpolate
Lat
interpolate
Lat
(
u
:
number
)
:
number
Parameters
u:
number
Returns
number
interpolate
Lng
interpolate
Lng
(
u
:
number
)
:
number
Parameters
u:
number
Returns
number
intersects
intersects
(
that
:
AnyGeoShape
)
:
boolean
Parameters
that:
AnyGeoShape
Returns
boolean
is
Closed
is
Closed
(
)
:
boolean
Returns
boolean
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
project
project
(
f
:
GeoProjection
)
:
R2Spline
Parameters
f:
GeoProjection
Returns
R2Spline
split
split
(
u
:
number
)
:
[
GeoSpline
,
GeoSpline
]
Parameters
u:
number
Returns
[
GeoSpline
,
GeoSpline
]
subdivide
subdivide
(
u
:
number
)
:
GeoSpline
Parameters
u:
number
Returns
GeoSpline
to
String
to
String
(
)
:
string
Returns
string
union
union
(
that
:
AnyGeoShape
)
:
GeoShape
Parameters
that:
AnyGeoShape
Returns
GeoShape
Static
builder
builder
(
)
:
GeoSplineBuilder
Returns
GeoSplineBuilder
Static
closed
closed
(
...
curves
:
GeoCurve
[]
)
:
GeoSpline
Parameters
Rest
...
curves:
GeoCurve
[]
Returns
GeoSpline
Static
empty
empty
(
)
:
GeoSpline
Returns
GeoSpline
Static
from
Any
from
Any
(
value
:
AnyGeoSpline
)
:
GeoSpline
from
Any
(
value
:
AnyGeoShape
)
:
GeoShape
Parameters
value:
AnyGeoSpline
Returns
GeoSpline
Parameters
value:
AnyGeoShape
Returns
GeoShape
Static
from
Points
from
Points
(
points
:
GeoSplinePoints
)
:
GeoSpline
Parameters
points:
GeoSplinePoints
Returns
GeoSpline
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyGeoShape
Parameters
value:
unknown
Returns
value
is
AnyGeoShape
Static
is
Any
Spline
is
Any
Spline
(
value
:
unknown
)
:
value
is
AnyGeoSpline
Parameters
value:
unknown
Returns
value
is
AnyGeoSpline
Static
is
Points
is
Points
(
value
:
unknown
)
:
value
is
GeoSplinePoints
Parameters
value:
unknown
Returns
value
is
GeoSplinePoints
Static
open
open
(
...
curves
:
GeoCurve
[]
)
:
GeoSpline
Parameters
Rest
...
curves:
GeoCurve
[]
Returns
GeoSpline
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
Spline
constructor
bounding
Box
closed
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
project
split
subdivide
to
String
union
builder
closed
empty
from
Any
from
Points
is
Any
is
Any
Spline
is
Points
open
Generated using
TypeDoc