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
R2Circle
Class R2Circle
Hierarchy
R2Shape
R2Circle
Implements
Interpolate
<
R2Circle
>
HashCode
Equivalent
Debug
Index
Constructors
constructor
Properties
cx
cy
r
Accessors
bounds
x
Max
x
Min
y
Max
y
Min
Methods
contains
contains
Box
contains
Circle
contains
Point
contains
Segment
debug
equals
equivalent
To
hash
Code
interpolate
To
intersects
intersects
Box
intersects
Circle
intersects
Point
intersects
Segment
is
Defined
to
Any
to
String
transform
union
from
Any
from
Init
is
Any
is
Init
of
Constructors
constructor
new
R2Circle
(
cx
:
number
, cy
:
number
, r
:
number
)
:
R2Circle
Parameters
cx:
number
cy:
number
r:
number
Returns
R2Circle
Properties
Readonly
cx
cx
:
number
Readonly
cy
cy
:
number
Readonly
r
r
:
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
contains
Box
contains
Box
(
that
:
R2Box
)
:
boolean
Parameters
that:
R2Box
Returns
boolean
contains
Circle
contains
Circle
(
that
:
R2Circle
)
:
boolean
Parameters
that:
R2Circle
Returns
boolean
contains
Point
contains
Point
(
that
:
R2Point
)
:
boolean
Parameters
that:
R2Point
Returns
boolean
contains
Segment
contains
Segment
(
that
:
R2Segment
)
:
boolean
Parameters
that:
R2Segment
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
:
R2Circle
)
:
Interpolator
<
R2Circle
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
R2Circle
>
Parameters
that:
R2Circle
Returns
Interpolator
<
R2Circle
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
R2Circle
>
intersects
intersects
(
that
:
AnyR2Shape
)
:
boolean
Parameters
that:
AnyR2Shape
Returns
boolean
intersects
Box
intersects
Box
(
that
:
R2Box
)
:
boolean
Parameters
that:
R2Box
Returns
boolean
intersects
Circle
intersects
Circle
(
that
:
R2Circle
)
:
boolean
Parameters
that:
R2Circle
Returns
boolean
intersects
Point
intersects
Point
(
that
:
R2Point
)
:
boolean
Parameters
that:
R2Point
Returns
boolean
intersects
Segment
intersects
Segment
(
that
:
R2Segment
)
:
boolean
Parameters
that:
R2Segment
Returns
boolean
is
Defined
is
Defined
(
)
:
boolean
Returns
boolean
to
Any
to
Any
(
)
:
R2CircleInit
Returns
R2CircleInit
to
String
to
String
(
)
:
string
Returns
string
transform
transform
(
f
:
R2Function
)
:
R2Circle
Parameters
f:
R2Function
Returns
R2Circle
union
union
(
that
:
AnyR2Shape
)
:
R2Shape
Parameters
that:
AnyR2Shape
Returns
R2Shape
Static
from
Any
from
Any
(
value
:
AnyR2Circle
)
:
R2Circle
Parameters
value:
AnyR2Circle
Returns
R2Circle
Static
from
Init
from
Init
(
value
:
R2CircleInit
)
:
R2Circle
Parameters
value:
R2CircleInit
Returns
R2Circle
Static
is
Any
is
Any
(
value
:
unknown
)
:
value
is
AnyR2Circle
Parameters
value:
unknown
Returns
value
is
AnyR2Circle
Static
is
Init
is
Init
(
value
:
unknown
)
:
value
is
R2CircleInit
Parameters
value:
unknown
Returns
value
is
R2CircleInit
Static
of
of
(
cx
:
number
, cy
:
number
, r
:
number
)
:
R2Circle
Parameters
cx:
number
cy:
number
r:
number
Returns
R2Circle
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
Circle
constructor
cx
cy
r
bounds
x
Max
x
Min
y
Max
y
Min
contains
contains
Box
contains
Circle
contains
Point
contains
Segment
debug
equals
equivalent
To
hash
Code
interpolate
To
intersects
intersects
Box
intersects
Circle
intersects
Point
intersects
Segment
is
Defined
to
Any
to
String
transform
union
from
Any
from
Init
is
Any
is
Init
of
Generated using
TypeDoc