Constructor
new BoundingCircle(ropt, positionopt)
- Source:
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
r |
number |
<optional> |
0
|
|
position |
Vector_like |
<optional> |
Classes
Members
pos :Vector_like
- Source:
Type:
r :number
- Source:
Type:
- number
Methods
intersects(bound)
- Source:
- Deprecated:
- Checks to see if this intersects with another bounding box
Parameters:
Name | Type | Description |
---|---|---|
bound |
BoundingCircle | BoundingBox | the bound to check intersection with |
translate(x, y)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
x |
number | |
y |
number |
(static) copy(bound)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bound |
BoundingCircle |
(static) translate(bound, x, y)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
bound |
BoundingCircle | |
x |
any | |
y |
any |