Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/math
BoxR2
Class BoxR2
Hierarchy
R2Shape
BoxR2
Implements
Shape
HashCode
Debug
Index
Constructors
constructor
Accessors
bottom
height
left
right
top
width
x
x
Max
x
Min
y
y
Max
y
Min
Methods
can
Equal
contains
debug
equals
hash
Code
intersects
to
Any
to
String
transform
union
empty
from
Any
of
Constructors
constructor
new
Box
R2
(
xMin
:
number
, yMin
:
number
, xMax
:
number
, yMax
:
number
)
:
BoxR2
Parameters
xMin:
number
yMin:
number
xMax:
number
yMax:
number
Returns
BoxR2
Accessors
bottom
get
bottom
(
)
:
number
Returns
number
height
get
height
(
)
:
number
Returns
number
left
get
left
(
)
:
number
Returns
number
right
get
right
(
)
:
number
Returns
number
top
get
top
(
)
:
number
Returns
number
width
get
width
(
)
:
number
Returns
number
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
:
BoxR2
)
:
boolean
Parameters
that:
BoxR2
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
:
Shape
)
:
boolean
Parameters
that:
Shape
Returns
boolean
to
Any
to
Any
(
)
:
BoxR2Init
Returns
BoxR2Init
to
String
to
String
(
)
:
string
Returns
string
transform
transform
(
f
:
R2Function
)
:
BoxR2
Parameters
f:
R2Function
Returns
BoxR2
union
union
(
that
:
AnyR2Shape
)
:
BoxR2
Parameters
that:
AnyR2Shape
Returns
BoxR2
Static
empty
empty
(
)
:
BoxR2
Returns
BoxR2
Static
from
Any
from
Any
(
box
:
AnyBoxR2
)
:
BoxR2
Parameters
box:
AnyBoxR2
Returns
BoxR2
Static
of
of
(
xMin
:
number
, yMin
:
number
, xMax
:
number
, yMax
:
number
)
:
BoxR2
Parameters
xMin:
number
yMin:
number
xMax:
number
yMax:
number
Returns
BoxR2
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
constructor
bottom
height
left
right
top
width
x
x
Max
x
Min
y
y
Max
y
Min
can
Equal
contains
debug
equals
hash
Code
intersects
to
Any
to
String
transform
union
empty
from
Any
of
Circle
R2
Point
R2
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