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, toStringpublic void addTriangle(CTriangle tri)
public java.util.List<CTriangle> getAdjacentTriangles()
public CVertex getPoint(int i)
LineSegmentgetPoint in interface SimplexgetPoint in class LineSegmentpublic boolean containsPoint(Point p)
public boolean equals(java.lang.Object o)
LineSegmentequals in class LineSegmentpublic int hashCode()
hashCode in class java.lang.Object