public class Triangle extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INSIDE |
static int |
ON_EDGE |
static int |
OUTSIDE |
Constructor and Description |
---|
Triangle(Edge e1,
Edge e2,
Edge e3)
Creates a new instance of Triangle
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsEdge(Edge e) |
boolean |
equals(Object o) |
double |
getArea() |
Edge |
getBoundaryEdge(XYNode n) |
Edge[] |
getEdges() |
Node[] |
getNodes() |
Edge |
getOppositeEdge(Node n) |
Edge |
getSharedEdge(Triangle t) |
Node |
getThirdNode(Edge e) |
int |
hashCode() |
int |
relate(XYNode n) |
String |
toString() |
public static final int OUTSIDE
public static final int INSIDE
public static final int ON_EDGE
Copyright © 1996–2019 Geotools. All rights reserved.