starfish.chemistry
Class AngleConstraint
java.lang.Object
starfish.chemistry.AngleConstraint
- All Implemented Interfaces:
- Constraint
public class AngleConstraint
- extends java.lang.Object
- implements Constraint
- Author:
- brucejohnson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spSets
public SpatialSet[] spSets
lower
public double lower
upper
public double upper
angle
public double angle
name
public java.lang.String name
disStat
public DistanceStat disStat
AngleConstraint
public AngleConstraint(SpatialSet[] spSets)
AngleConstraint
public AngleConstraint(java.lang.String name,
SpatialSet[] spSets)
getSpatialSet
public SpatialSet getSpatialSet(int i)
getID
public int getID()
- Specified by:
getID
in interface Constraint
getStat
public DistanceStat getStat()
- Specified by:
getStat
in interface Constraint
getValue
public double getValue()
- Specified by:
getValue
in interface Constraint
isUserActive
public boolean isUserActive()
- Specified by:
isUserActive
in interface Constraint
setActive
public static void setActive(AngleConstraintSet noeSet)
setActive
public void setActive(int state)
getActive
public int getActive()
getActiveSet
public static AngleConstraintSet getActiveSet()
getSize
public static int getSize()
resetConstraints
public static void resetConstraints()
getElem
public void getElem(tcl.lang.Interp interp,
java.lang.String elemName,
tcl.lang.TclObject arg)
throws tcl.lang.TclException
- Throws:
tcl.lang.TclException
getViolChars
public java.lang.String getViolChars(DistanceStat dStat)
getViol
public double getViol(double angle)
toSTARString
public java.lang.String toSTARString()
- Specified by:
toSTARString
in interface Constraint
Copyright © 2010 One Moon Scientific, Inc. All Rights Reserved.