Update edgebreak.cpp

adding setgeometry API