Unit9
something likes this?
make some abstract classes logicunit and logicruleunit
class lines extends logicunit{
//store all the line "predicates"
Line[] lines = unit4.getLines();
}
class unitx extends logicruleunit{
public void refresh(){
lines.getLines(i)
//keep only the horizontal lines
if( lines[i].dot1.x == lines[i].dot2.x){ horizontallines.store(lines[i]);
}
}
class horizontallines extends logicunit{
}
...
page_revision: 2, last_edited: 1165489709|%e %b %Y, %H:%M %Z (%O ago)





