public class CEdge extends LineSegment
a, b
Modifier and Type | Method and Description |
---|---|
void |
addTriangle(CTriangle tri) |
boolean |
containsPoint(Point p) |
boolean |
equals(java.lang.Object o)
Returns true iff the argument is a line-segment and equals this.
|
java.util.List<CTriangle> |
getAdjacentTriangles() |
CVertex |
getPoint(int i)
TODO: Comment and test
|
int |
hashCode() |
CVertex |
opposite(CVertex v) |
clone, equals, getA, getAToB, getB, getCenter, getClosestPoint, getDimension, getDistance, getLength, getLengthSquared, getMidPoint, getSquaredDistance, setA, setB, toConsole, toConsole, toString, toString
public void addTriangle(CTriangle tri)
public java.util.List<CTriangle> getAdjacentTriangles()
public CVertex getPoint(int i)
LineSegment
getPoint
in interface Simplex
getPoint
in class LineSegment
public boolean containsPoint(Point p)
public boolean equals(java.lang.Object o)
LineSegment
equals
in class LineSegment
public int hashCode()
hashCode
in class java.lang.Object