Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/math
PointR2
Class PointR2
Hierarchy
R2Shape
PointR2
Implements
Shape
HashCode
Debug
Index
Constructors
constructor
Accessors
x
x
Max
x
Min
y
y
Max
y
Min
Methods
can
Equal
contains
debug
equals
hash
Code
intersects
minus
plus
to
Any
to
String
transform
union
from
Any
of
origin
Constructors
constructor
new
Point
R2
(
x
:
number
, y
:
number
)
:
PointR2
Parameters
x:
number
y:
number
Returns
PointR2
Accessors
x
get
x
(
)
:
number
Returns
number
x
Max
get
xMax
(
)
:
number
Returns
number
x
Min
get
xMin
(
)
:
number
Returns
number
y
get
y
(
)
:
number
Returns
number
y
Max
get
yMax
(
)
:
number
Returns
number
y
Min
get
yMin
(
)
:
number
Returns
number
Methods
Protected
can
Equal
can
Equal
(
that
:
PointR2
)
:
boolean
Parameters
that:
PointR2
Returns
boolean
contains
contains
(
that
:
AnyShape
)
:
boolean
contains
(
x
:
number
, y
:
number
)
:
boolean
Parameters
that:
AnyShape
Returns
boolean
Parameters
x:
number
y:
number
Returns
boolean
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
hash
Code
hash
Code
(
)
:
number
Returns
number
intersects
intersects
(
that
:
AnyShape
)
:
boolean
Parameters
that:
AnyShape
Returns
boolean
minus
minus
(
vector
:
VectorR2
)
:
PointR2
minus
(
that
:
PointR2
)
:
VectorR2
Parameters
vector:
VectorR2
Returns
PointR2
Parameters
that:
PointR2
Returns
VectorR2
plus
plus
(
vector
:
AnyVectorR2
)
:
PointR2
Parameters
vector:
AnyVectorR2
Returns
PointR2
to
Any
to
Any
(
)
:
PointR2Init
Returns
PointR2Init
to
String
to
String
(
)
:
string
Returns
string
transform
transform
(
f
:
R2Function
)
:
PointR2
Parameters
f:
R2Function
Returns
PointR2
union
union
(
that
:
AnyR2Shape
)
:
R2Shape
Parameters
that:
AnyR2Shape
Returns
R2Shape
Static
from
Any
from
Any
(
point
:
AnyPointR2
)
:
PointR2
Parameters
point:
AnyPointR2
Returns
PointR2
Static
of
of
(
x
:
number
, y
:
number
)
:
PointR2
Parameters
x:
number
y:
number
Returns
PointR2
Static
origin
origin
(
)
:
PointR2
Returns
PointR2
Globals
@swim/core
@swim/codec
@swim/collections
@swim/dataflow
@swim/math
@swim/recon
@swim/streamlet
@swim/structure
@swim/time
@swim/uri
@swim/util
@swim/mesh
@swim/ui
@swim/ux
@swim/web
Box
R2
Circle
R2
Point
R2
constructor
x
x
Max
x
Min
y
y
Max
y
Min
can
Equal
contains
debug
equals
hash
Code
intersects
minus
plus
to
Any
to
String
transform
union
from
Any
of
origin
R2
Shape
Segment
R2
Vector
R2
Box
R2Init
Circle
R2Init
Point
R2Init
R2
Function
R2
Operator
Segment
R2Init
Shape
Vector
R2Init
Any
Box
R2
Any
Circle
R2
Any
Point
R2
Any
R2Shape
Any
Segment
R2
Any
Shape
Any
Vector
R2
Shape