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
R2Point
Class R2Point
Hierarchy
R2Shape
R2Point
Implements
Interpolate
<
R2Point
>
HashCode
Equivalent
Debug
Index
Constructors
constructor
Properties
x
y
Accessors
bounds
x
Max
x
Min
y
Max
y
Min
Methods
contains
debug
equals
equivalent
To
hash
Code
interpolate
To
intersects
is
Defined
minus
plus
to
Any
to
String
transform
union
from
Any
from
Init
from
Tuple
is
Any
is
Init
is
Tuple
of
origin
undefined
Constructors
constructor
new
R2Point
(
x
:
number
, y
:
number
)
:
R2Point
Parameters
x:
number
y:
number
Returns
R2Point
Properties
Readonly
x
x
:
number
Readonly
y
y
:
number
Accessors
bounds
get
bounds
(
)
:
R2Box
Returns
R2Box
x
Max
get
xMax
(
)
:
number
Returns
number
x
Min
get
xMin
(
)
:
number
Returns
number
y
Max
get
yMax
(
)
:
number
Returns
number
y
Min
get
yMin
(
)
:
number
Returns
number
Methods
contains
contains
(
that
:
AnyR2Shape
)
:
boolean
contains
(
x
:
number
, y
:
number
)
:
boolean
Parameters
that:
AnyR2Shape
Returns
boolean
Parameters
x:
number
y:
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
hash
Code
hash
Code
(
)
:
number
Returns
number
interpolate
To
interpolate
To
(
that
:
R2Point
)
:
Interpolator
<
R2Point
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
R2Point
>
Parameters
that:
R2Point
Returns
Interpolator
<
R2Point
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
R2Point
>
intersects
intersects
(
that
:
AnyR2Shape
)
:
boolean
Parameters
that:
AnyR2Shape
Returns
boolean
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
minus
minus
(
vector
:
R2Vector
)
:
R2Point
minus
(
that
:
R2Point
)
:
R2Vector
Parameters
vector:
R2Vector
Returns
R2Point
Parameters
that:
R2Point
Returns
R2Vector
plus
plus
(
vector
:
AnyR2Vector
)
:
R2Point
Parameters
vector:
AnyR2Vector
Returns
R2Point
to
Any
to
Any
(
)
:
R2PointInit
Returns
R2PointInit
to
String
to
String
(
)
:
string
Returns
string
transform
transform
(
f
:
R2Function
)
:
R2Point
Parameters
f:
R2Function
Returns
R2Point
union
union
(
that
:
AnyR2Shape
)
:
R2Shape
Parameters
that:
AnyR2Shape
Returns
R2Shape
Static
from
Any
from
Any
(
value
:
AnyR2Point
)
:
R2Point
Parameters
value:
AnyR2Point
Returns
R2Point
Static
from
Init
from
Init
(
value
:
R2PointInit
)
:
R2Point
Parameters
value:
R2PointInit
Returns
R2Point
Static
from
Tuple
from
Tuple
(
value
:
R2PointTuple
)
:
R2Point
Parameters
value:
R2PointTuple
Returns
R2Point
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyR2Point
Parameters
value:
unknown
Returns
value
is
AnyR2Point
Static
is
Init
is
Init
(
value
:
unknown
)
:
value
is
R2PointInit
Parameters
value:
unknown
Returns
value
is
R2PointInit
Static
is
Tuple
is
Tuple
(
value
:
unknown
)
:
value
is
R2PointTuple
Parameters
value:
unknown
Returns
value
is
R2PointTuple
Static
of
of
(
x
:
number
, y
:
number
)
:
R2Point
Parameters
x:
number
y:
number
Returns
R2Point
Static
origin
origin
(
)
:
R2Point
Returns
R2Point
Static
undefined
undefined
(
)
:
R2Point
Returns
R2Point
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
Point
constructor
x
y
bounds
x
Max
x
Min
y
Max
y
Min
contains
debug
equals
equivalent
To
hash
Code
interpolate
To
intersects
is
Defined
minus
plus
to
Any
to
String
transform
union
from
Any
from
Init
from
Tuple
is
Any
is
Init
is
Tuple
of
origin
undefined
Generated using
TypeDoc