org.geotools.graph.util.delaunay
Class Triangle
java.lang.Object
org.geotools.graph.util.delaunay.Triangle
- public class Triangle
- extends java.lang.Object
- Author:
- jfc173
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OUTSIDE
public static final int OUTSIDE
- See Also:
- Constant Field Values
INSIDE
public static final int INSIDE
- See Also:
- Constant Field Values
ON_EDGE
public static final int ON_EDGE
- See Also:
- Constant Field Values
Triangle
public Triangle(Edge e1,
Edge e2,
Edge e3)
- Creates a new instance of Triangle
relate
public int relate(XYNode n)
getThirdNode
public Node getThirdNode(Edge e)
getOppositeEdge
public Edge getOppositeEdge(Node n)
getSharedEdge
public Edge getSharedEdge(Triangle t)
getEdges
public Edge[] getEdges()
getNodes
public Node[] getNodes()
getArea
public double getArea()
containsEdge
public boolean containsEdge(Edge e)
equals
public boolean equals(java.lang.Object o)
toString
public java.lang.String toString()
Copyright © GeoTools. All Rights Reserved.