Uses of Class
toxi.physics3d.VerletParticle3D
Packages that use VerletParticle3D
-
Uses of VerletParticle3D in toxi.physics3d
Fields in toxi.physics3d declared as VerletParticle3DModifier and TypeFieldDescriptionVerletSpring3D.aSpring end points / particlesVerletSpring3D.bSpring end points / particlesFields in toxi.physics3d with type parameters of type VerletParticle3DModifier and TypeFieldDescriptionParticleString3D.particlesVerletPhysics3D.particlesList of particles (Vec3D subclassed)Methods in toxi.physics3d that return VerletParticle3DModifier and TypeMethodDescriptionVerletParticle3D.addBehavior(ParticleBehavior3D behavior) VerletParticle3D.addBehavior(ParticleBehavior3D behavior, float timeStep) VerletParticle3D.addConstraint(ParticleConstraint3D c) Adds the given constraint implementation to the list of constraints applied to this particle at each time step.VerletParticle3D.addVelocity(Vec3D v) VerletParticle3D.clearConstraints()Removes any currently applied constraints from this particle.VerletParticle3D.clearForce()VerletParticle3D.clearVelocity()ParticleString3D.getHead()Returns the first particle of the string.ParticleString3D.getTail()Returns last particle of the string.VerletParticle3D.lock()Locks/immobilizes particle in spaceVerletParticle3D.scaleVelocity(float scl) VerletParticle3D.setPreviousPosition(Vec3D p) VerletParticle3D.unlock()Unlocks particle againMethods in toxi.physics3d that return types with arguments of type VerletParticle3DModifier and TypeMethodDescriptionParticlePath3D.createParticles(VerletPhysics3D physics, int subDiv, float step, float mass) Creates particles along the spline at the fixed interval given.Methods in toxi.physics3d with parameters of type VerletParticle3DModifier and TypeMethodDescriptionVerletPhysics3D.addParticle(VerletParticle3D p) Adds a particle to the listbooleanVerletPhysics3D.removeParticle(VerletParticle3D p) Removes a particle from the simulation.Method parameters in toxi.physics3d with type arguments of type VerletParticle3DModifier and TypeMethodDescriptionstatic voidVerletPhysics3D.addConstraintToAll(ParticleConstraint3D c, List<VerletParticle3D> list) static voidVerletPhysics3D.removeConstraintFromAll(ParticleConstraint3D c, List<VerletParticle3D> list) Constructors in toxi.physics3d with parameters of type VerletParticle3DModifierConstructorDescriptionVerletConstrainedSpring3D(VerletParticle3D a, VerletParticle3D b, float len, float str) VerletConstrainedSpring3D(VerletParticle3D a, VerletParticle3D b, float len, float str, float limit) VerletMinDistanceSpring3D(VerletParticle3D a, VerletParticle3D b, float len, float str) Creates a copy of the passed in particleVerletSpring3D(VerletParticle3D a, VerletParticle3D b, float len, float str) Constructor parameters in toxi.physics3d with type arguments of type VerletParticle3DModifierConstructorDescriptionParticleString3D(VerletPhysics3D physics, List<VerletParticle3D> plist, float strength) Takes a list of already created particles connects them into a continuous string using springs. -
Uses of VerletParticle3D in toxi.physics3d.behaviors
Methods in toxi.physics3d.behaviors with parameters of type VerletParticle3DModifier and TypeMethodDescriptionvoidAttractionBehavior3D.apply(VerletParticle3D p) voidConstantForceBehavior3D.apply(VerletParticle3D p) voidParticleBehavior3D.apply(VerletParticle3D p) Applies the constraint to the passed in particle. -
Uses of VerletParticle3D in toxi.physics3d.constraints
Methods in toxi.physics3d.constraints with parameters of type VerletParticle3DModifier and TypeMethodDescriptionvoidAxisConstraint.apply(VerletParticle3D p) voidBoxConstraint.apply(VerletParticle3D p) voidCylinderConstraint.apply(VerletParticle3D p) voidMaxConstraint.apply(VerletParticle3D p) voidMinConstraint.apply(VerletParticle3D p) voidParticleConstraint3D.apply(VerletParticle3D p) Applies the constraint to the passed in particle.voidPlaneConstraint.apply(VerletParticle3D p) voidSoftBoxConstraint.apply(VerletParticle3D p) voidSphereConstraint.apply(VerletParticle3D p)