Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/math
R2SplineParser
Class R2SplineParser
Hierarchy
Parser
<
R2Spline
>
R2SplineParser
Index
Constructors
constructor
Methods
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
trap
done
error
parse
Constructors
constructor
new
R2Spline
Parser
(
x0Parser
?:
Parser
<
number
>
, y0Parser
?:
Parser
<
number
>
, xParser
?:
Parser
<
number
>
, yParser
?:
Parser
<
number
>
, curveParser
?:
Parser
<
R2Curve
>
, curves
?:
R2Curve
[]
, command
?:
number
, step
?:
number
)
:
R2SplineParser
Parameters
Optional
x0Parser:
Parser
<
number
>
Optional
y0Parser:
Parser
<
number
>
Optional
xParser:
Parser
<
number
>
Optional
yParser:
Parser
<
number
>
Optional
curveParser:
Parser
<
R2Curve
>
Optional
curves:
R2Curve
[]
Optional
command:
number
Optional
step:
number
Returns
R2SplineParser
Methods
as
Error
as
Error<O2>
(
)
:
Parser
<
O2
>
Type parameters
O2
Returns
Parser
<
O2
>
bind
bind
(
)
:
R2Spline
Returns
R2Spline
feed
feed
(
input
:
Input
)
:
Parser
<
R2Spline
>
Parameters
input:
Input
Returns
Parser
<
R2Spline
>
fork
fork
(
condition
:
unknown
)
:
Parser
<
R2Spline
>
Parameters
condition:
unknown
Returns
Parser
<
R2Spline
>
is
Cont
is
Cont
(
)
:
boolean
Returns
boolean
is
Done
is
Done
(
)
:
boolean
Returns
boolean
is
Error
is
Error
(
)
:
boolean
Returns
boolean
trap
trap
(
)
:
Error
Returns
Error
Static
done
done<O>
(
value
:
O
)
:
Parser
<
O
>
Type parameters
O
Parameters
value:
O
Returns
Parser
<
O
>
Static
error
error<O>
(
error
:
Error
|
Diagnostic
)
:
Parser
<
O
>
Type parameters
O
Parameters
error:
Error
|
Diagnostic
Returns
Parser
<
O
>
Static
parse
parse
(
input
:
Input
, x0Parser
?:
Parser
<
number
>
, y0Parser
?:
Parser
<
number
>
, xParser
?:
Parser
<
number
>
, yParser
?:
Parser
<
number
>
, curveParser
?:
Parser
<
R2Curve
>
, curves
?:
R2Curve
[]
, command
?:
number
, step
?:
number
)
:
Parser
<
R2Spline
>
Parameters
input:
Input
Optional
x0Parser:
Parser
<
number
>
Optional
y0Parser:
Parser
<
number
>
Optional
xParser:
Parser
<
number
>
Optional
yParser:
Parser
<
number
>
Optional
curveParser:
Parser
<
R2Curve
>
Optional
curves:
R2Curve
[]
Optional
command:
number
Optional
step:
number
Returns
Parser
<
R2Spline
>
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
R2
Spline
Parser
constructor
as
Error
bind
feed
fork
is
Cont
is
Done
is
Error
trap
done
error
parse
Generated using
TypeDoc