|
def | __init__ (self, origin, alpha, length, n_particles) |
|
def | step (self) |
|
def | addParticle (self, x, y, fixed) |
|
def | draw (self) |
|
def | setTimestep (self, timestep) |
|
def | setConstraintIterations (self, iterations) |
|
def | setSegmentLength (self, length) |
|
def | getTimestep (self) |
|
def | getConstraintIterations (self) |
|
def | getSegmentLength (self) |
|
def | getParticles (self) |
|
def | verletIntegration (self) |
|
def | enforceConstraintsJakobsen (self) |
|
def | calculateDesiredDistance (self) |
|
◆ __init__()
def shkyera.lib.physics.Rope.__init__ |
( |
|
self, |
|
|
|
origin, |
|
|
|
alpha, |
|
|
|
length, |
|
|
|
n_particles |
|
) |
| |
◆ addParticle()
def shkyera.lib.physics.Rope.addParticle |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
fixed |
|
) |
| |
◆ calculateDesiredDistance()
def shkyera.lib.physics.Rope.calculateDesiredDistance |
( |
|
self | ) |
|
◆ draw()
def shkyera.lib.physics.Rope.draw |
( |
|
self | ) |
|
◆ enforceConstraintsJakobsen()
def shkyera.lib.physics.Rope.enforceConstraintsJakobsen |
( |
|
self | ) |
|
◆ getConstraintIterations()
def shkyera.lib.physics.Rope.getConstraintIterations |
( |
|
self | ) |
|
◆ getParticles()
def shkyera.lib.physics.Rope.getParticles |
( |
|
self | ) |
|
◆ getSegmentLength()
def shkyera.lib.physics.Rope.getSegmentLength |
( |
|
self | ) |
|
◆ getTimestep()
def shkyera.lib.physics.Rope.getTimestep |
( |
|
self | ) |
|
◆ setConstraintIterations()
def shkyera.lib.physics.Rope.setConstraintIterations |
( |
|
self, |
|
|
|
iterations |
|
) |
| |
◆ setSegmentLength()
def shkyera.lib.physics.Rope.setSegmentLength |
( |
|
self, |
|
|
|
length |
|
) |
| |
◆ setTimestep()
def shkyera.lib.physics.Rope.setTimestep |
( |
|
self, |
|
|
|
timestep |
|
) |
| |
◆ step()
def shkyera.lib.physics.Rope.step |
( |
|
self | ) |
|
◆ verletIntegration()
def shkyera.lib.physics.Rope.verletIntegration |
( |
|
self | ) |
|
◆ _constraintsIterations
shkyera.lib.physics.Rope._constraintsIterations |
|
private |
◆ _desiredDistance
shkyera.lib.physics.Rope._desiredDistance |
|
private |
◆ _gravity
shkyera.lib.physics.Rope._gravity |
|
private |
◆ _particles
shkyera.lib.physics.Rope._particles |
|
private |
◆ _timestep
shkyera.lib.physics.Rope._timestep |
|
private |
◆ endPoint
shkyera.lib.physics.Rope.endPoint |
◆ fixPoint
shkyera.lib.physics.Rope.fixPoint |
◆ origin
shkyera.lib.physics.Rope.origin |
The documentation for this class was generated from the following file: