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
R2Vector
Class R2Vector
Hierarchy
R2Vector
Implements
Interpolate
<
R2Vector
>
HashCode
Equivalent
Debug
Index
Constructors
constructor
Properties
x
y
Methods
debug
equals
equivalent
To
hash
Code
interpolate
To
is
Defined
minus
negative
plus
times
to
Any
to
String
from
Any
from
Init
is
Any
is
Init
of
zero
Constructors
constructor
new
R2Vector
(
x
:
number
, y
:
number
)
:
R2Vector
Parameters
x:
number
y:
number
Returns
R2Vector
Properties
Readonly
x
x
:
number
Readonly
y
y
:
number
Methods
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
hash
Code
hash
Code
(
)
:
number
Returns
number
interpolate
To
interpolate
To
(
that
:
R2Vector
)
:
Interpolator
<
R2Vector
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
R2Vector
>
Parameters
that:
R2Vector
Returns
Interpolator
<
R2Vector
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
R2Vector
>
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
minus
minus
(
that
:
AnyR2Vector
)
:
R2Vector
Parameters
that:
AnyR2Vector
Returns
R2Vector
negative
negative
(
)
:
R2Vector
Returns
R2Vector
plus
plus
(
that
:
AnyR2Vector
)
:
R2Vector
Parameters
that:
AnyR2Vector
Returns
R2Vector
times
times
(
scalar
:
number
)
:
R2Vector
Parameters
scalar:
number
Returns
R2Vector
to
Any
to
Any
(
)
:
R2VectorInit
Returns
R2VectorInit
to
String
to
String
(
)
:
string
Returns
string
Static
from
Any
from
Any
(
value
:
AnyR2Vector
)
:
R2Vector
Parameters
value:
AnyR2Vector
Returns
R2Vector
Static
from
Init
from
Init
(
init
:
R2VectorInit
)
:
R2Vector
Parameters
init:
R2VectorInit
Returns
R2Vector
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyR2Vector
Parameters
value:
unknown
Returns
value
is
AnyR2Vector
Static
is
Init
is
Init
(
value
:
unknown
)
:
value
is
R2VectorInit
Parameters
value:
unknown
Returns
value
is
R2VectorInit
Static
of
of
(
x
:
number
, y
:
number
)
:
R2Vector
Parameters
x:
number
y:
number
Returns
R2Vector
Static
zero
zero
(
)
:
R2Vector
Returns
R2Vector
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
Vector
constructor
x
y
debug
equals
equivalent
To
hash
Code
interpolate
To
is
Defined
minus
negative
plus
times
to
Any
to
String
from
Any
from
Init
is
Any
is
Init
of
zero
Generated using
TypeDoc