c2.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Arc
Field
constructor
arc
strength
apply
force
range
Circle
Constraint
Circle
Field
Collision
Const
Force
Constraint
Force
Gravitation
Interaction
Force
Line
Field
Particle
Point
Field
Polygon
Constraint
Rect
Constraint
Spring
World
Hierarchy
Force
ArcField
Index
Constructors
constructor
Properties
arc
strength
Methods
apply
force
range
Constructors
constructor
new
Arc
Field
(
arc
:
Arc
, strength
?:
number
)
:
ArcField
Parameters
arc:
Arc
strength:
number
= 1
Returns
ArcField
Properties
arc
arc
:
Arc
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