Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.physics.constraints
Class MinConstraint

    java.lang.Object
      toxi.physics.constraints.MinConstraint

All Implemented Interfaces:
  ParticleConstraint

    public class MinConstraint

extends java.lang.Object
implements ParticleConstraint

Field Summary
`toxi.geom.Vec3D.Axis` | `axis`
`float` | `threshold`

Constructor Summary
`MinConstraint(toxi.geom.Vec3D.Axis axis, float threshold)`

Method Summary
`void` | `apply(VerletParticle p)` Applies the constraint to the passed in particle.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### axis

    public toxi.geom.Vec3D.Axis axis

### threshold

    public float threshold

Constructor Detail

### MinConstraint

    public MinConstraint(toxi.geom.Vec3D.Axis axis,
                         float threshold)

Method Detail

### apply

    public void apply(VerletParticle p)

  Description copied from interface: `ParticleConstraint`
  Applies the constraint to the passed in particle. The method is assumed to manipulate the given instance directly.

  Specified by:
    `apply` in interface `ParticleConstraint`
  Parameters:
    `p` - particle

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD