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
R2Group
Class R2Group<S>
Type parameters
S
:
R2Shape
=
R2Shape
Hierarchy
R2Shape
R2Group
Implements
Equals
Equivalent
Debug
Index
Constructors
constructor
Properties
bounding
Box
shapes
Accessors
bounds
x
Max
x
Min
y
Max
y
Min
Methods
contains
debug
equals
equivalent
To
intersects
is
Defined
to
String
transform
union
empty
from
Any
is
Any
of
Constructors
constructor
new
R2Group<S>
(
shapes
:
readonly
S
[]
)
:
R2Group
<
S
>
Type parameters
S
:
R2Shape
<
S
>
=
R2Shape
Parameters
shapes:
readonly
S
[]
Returns
R2Group
<
S
>
Properties
Readonly
bounding
Box
bounding
Box
:
null
|
R2Box
Readonly
shapes
shapes
:
readonly
S
[]
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
intersects
intersects
(
that
:
AnyR2Shape
)
:
boolean
Parameters
that:
AnyR2Shape
Returns
boolean
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
to
String
to
String
(
)
:
string
Returns
string
transform
transform
(
f
:
R2Function
)
:
R2Group
<
R2Shape
>
Parameters
f:
R2Function
Returns
R2Group
<
R2Shape
>
union
union
(
that
:
AnyR2Shape
)
:
R2Shape
Parameters
that:
AnyR2Shape
Returns
R2Shape
Static
empty
empty<S>
(
)
:
R2Group
<
S
>
Type parameters
S
:
R2Shape
<
S
>
Returns
R2Group
<
S
>
Static
from
Any
from
Any
(
value
:
AnyR2Shape
)
:
R2Shape
Parameters
value:
AnyR2Shape
Returns
R2Shape
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyR2Shape
Parameters
value:
unknown
Returns
value
is
AnyR2Shape
Static
of
of<S>
(
...
shapes
:
S
[]
)
:
R2Group
<
S
>
Type parameters
S
:
R2Shape
<
S
>
Parameters
Rest
...
shapes:
S
[]
Returns
R2Group
<
S
>
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
Group
constructor
bounding
Box
shapes
bounds
x
Max
x
Min
y
Max
y
Min
contains
debug
equals
equivalent
To
intersects
is
Defined
to
String
transform
union
empty
from
Any
is
Any
of
Generated using
TypeDoc