c2.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Arc
Field
Circle
Constraint
Circle
Field
constructor
circle
strength
apply
force
range
Collision
Const
Force
Constraint
Force
Gravitation
Interaction
Force
Line
Field
Particle
Point
Field
Polygon
Constraint
Rect
Constraint
Spring
World
Hierarchy
Force
CircleField
Index
Constructors
constructor
Properties
circle
strength
Methods
apply
force
range
Constructors
constructor
new
Circle
Field
(
circle
:
Circle
, strength
?:
number
)
:
CircleField
Parameters
circle:
Circle
strength:
number
= 1
Returns
CircleField
Properties
circle
circle
:
Circle
strength
strength
:
number
Methods
apply
apply
(
p
:
Particle
)
:
void
Parameters
p:
Particle
Returns
void
force
force
(
position
:
Vector
)
:
Vector
Parameters
position:
Vector
Returns
Vector
range
range
(
min
?:
number
, max
?:
number
)
:
void
Parameters
min:
number
= 0
max:
number
= ...
Returns
void