mathcomp.gui
Class Util
java.lang.Object
mathcomp.gui.Util
public class Util
- extends java.lang.Object
- Author:
- pht
Constructor Summary |
Util()
|
Method Summary |
static Node |
doIntersect(Node n1,
Node n2,
Node e1,
Node e2)
|
static void |
ensureEdge(Triangle currentTriangle,
Node n,
double EPS,
double R2_DAMPER,
boolean output)
|
static Triangle |
findTriangle(Grid g,
Node n)
|
static java.util.List |
getRotationTriangleList(Grid g)
|
static GhostNode |
getValidGhostNode(Triangle t,
Node n_in,
Node n_out)
|
static boolean |
inside(Triangle t,
Node n)
|
static boolean |
inside(Triangle t,
java.awt.geom.Point2D p)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
getRotationTriangleList
public static java.util.List getRotationTriangleList(Grid g)
inside
public static boolean inside(Triangle t,
java.awt.geom.Point2D p)
inside
public static boolean inside(Triangle t,
Node n)
findTriangle
public static Triangle findTriangle(Grid g,
Node n)
ensureEdge
public static void ensureEdge(Triangle currentTriangle,
Node n,
double EPS,
double R2_DAMPER,
boolean output)
getValidGhostNode
public static GhostNode getValidGhostNode(Triangle t,
Node n_in,
Node n_out)
doIntersect
public static Node doIntersect(Node n1,
Node n2,
Node e1,
Node e2)