public class Segment extends Object
Segment(Point p1, Point p2)
double
getLongueur()
Point
getP1()
getP2()
void
setP1(Point p1)
setP2(Point p2)
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public Segment(Point p1, Point p2)
public Point getP1()
public void setP1(Point p1)
public Point getP2()
public void setP2(Point p2)
public double getLongueur()
public String toString()
toString
Object