jfig.utils
Class GeometryManager
java.lang.Object
jfig.utils.GeometryManager
- public class GeometryManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNCONSTRAINED
public static final int UNCONSTRAINED
- See Also:
- Constant Field Values
LATEX_LINE
public static final int LATEX_LINE
- See Also:
- Constant Field Values
LATEX_VECTOR
public static final int LATEX_VECTOR
- See Also:
- Constant Field Values
MANHATTAN
public static final int MANHATTAN
- See Also:
- Constant Field Values
MOUNTAIN
public static final int MOUNTAIN
- See Also:
- Constant Field Values
MOUNTHATTAN
public static final int MOUNTHATTAN
- See Also:
- Constant Field Values
names
public static final java.lang.String[] names
GeometryManager
public GeometryManager()
setMode
public void setMode(int mode)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getMode
public int getMode()
getNearestAllowedPoint
public java.awt.Point getNearestAllowedPoint(java.awt.Point base,
java.awt.Point target)
getNearestManhattanPoint
public java.awt.Point getNearestManhattanPoint(java.awt.Point base,
java.awt.Point target)
convertToRadians
public void convertToRadians(double[] angles)
convertToDegrees
public void convertToDegrees(double[] angles)