Constraint
Date: 2019-10-22

org.jmol.modelkit

## Class Constraint

- java.lang.Object
- - org.jmol.modelkit.Constraint

-     public class Constraint
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private javajs.util.P3` | `offset`
    `private javajs.util.P3[]` | `points`
    `private java.lang.String` | `symop`
    `(package private) int` | `type`
    `static int` | `TYPE_ANGLE`
    `static int` | `TYPE_DIHEDRAL`
    `static int` | `TYPE_DISTANCE`
    `static int` | `TYPE_SYMMETRY`
    `private double` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Constraint(int type, java.lang.Object... params)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### TYPE_SYMMETRY

          public static final int TYPE_SYMMETRY

      See Also:
        Constant Field Values

    - #### TYPE_DISTANCE

          public static final int TYPE_DISTANCE

      See Also:
        Constant Field Values

    - #### TYPE_ANGLE

          public static final int TYPE_ANGLE

      See Also:
        Constant Field Values

    - #### TYPE_DIHEDRAL

          public static final int TYPE_DIHEDRAL

      See Also:
        Constant Field Values

    - #### type

          int type

    - #### symop

          private java.lang.String symop

    - #### points

          private javajs.util.P3[] points

    - #### offset

          private javajs.util.P3 offset

    - #### value

          private double value

  - ### Constructor Detail

    - #### Constraint

          public Constraint(int type,
                            java.lang.Object... params)
                     throws java.lang.IllegalArgumentException

      Throws:
        `java.lang.IllegalArgumentException`