|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shapelogic.polygon.PolygonAnnotator
public class PolygonAnnotator
Not this functionality is in ChainCodeHandler But this is interesting on its own, now there are no annotation going on, I need to move this in too
Constructor Summary | |
---|---|
PolygonAnnotator()
|
|
PolygonAnnotator(Polygon calcValue)
|
Method Summary | |
---|---|
boolean |
createdNewVersion()
|
void |
findJunctions()
|
Polygon |
getInput()
|
Polygon |
getValue()
Starts a lazy calculation. |
Polygon |
invoke()
|
boolean |
isAnnotationsFound()
Try if there is anything that can be annotated. |
boolean |
isDirty()
When dirty is false that means that the calculated value can be used |
void |
setInput(Polygon input)
|
void |
setup()
Currently not super well define used for 2 purposes: Reset: called from the outside if you want to reuse it init: Called from the inside when calculation start to have everything setup maybe the semantic could work for both? TODO: This should be separated better. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolygonAnnotator()
public PolygonAnnotator(Polygon calcValue)
Method Detail |
---|
public boolean isAnnotationsFound()
ObjectAnnotator
isAnnotationsFound
in interface ObjectAnnotator<Polygon>
public boolean createdNewVersion()
createdNewVersion
in interface Improver<Polygon>
public boolean isDirty()
LazyCalc
isDirty
in interface LazyCalc<Polygon>
public void setup()
LazyCalc
setup
in interface LazyCalc<Polygon>
public Polygon invoke()
invoke
in interface Calc0<Polygon>
public Polygon getValue()
CalcValue
getValue
in interface CalcValue<Polygon>
public void findJunctions()
public Polygon getInput()
getInput
in interface Improver<Polygon>
public void setInput(Polygon input)
setInput
in interface Improver<Polygon>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |