java.lang.Objectjus.aoo.geometrie.NewFigure
jus.aoo.geometrie.NewSegment
public class NewSegment
Modélise la notion d'acquisition de segment
Constructor Summary | |
---|---|
NewSegment()
|
Method Summary | |
---|---|
void |
changePoint(jus.util.geometrie.Point p)
Ajout d'un point non définitif |
boolean |
isComplete()
la construction est-elle finalisée |
Segment |
newFigure()
la figure courante |
void |
newPoint(jus.util.geometrie.Point p)
Ajout d'un point définitif |
Methods inherited from class jus.aoo.geometrie.NewFigure |
---|
setGeometrie |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NewSegment()
Method Detail |
---|
public void changePoint(jus.util.geometrie.Point p)
p
- le pointpublic void newPoint(jus.util.geometrie.Point p)
p
- le pointpublic Segment newFigure()
public boolean isComplete()