Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30340/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
ConstructorTool.java
Log Message:
Avoid constructors sharing the same origin vertex
Index: ConstructorTool.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ConstructorTool.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** ConstructorTool.java 19 Jul 2006 11:25:28 -0000 1.5
--- ConstructorTool.java 19 Jul 2006 11:40:14 -0000 1.6
***************
*** 137,141 ****
} else {
if (p1.vertex().equalEps(current.vertex())) {
! insertPoint(current.vertex());
cleanUp();
return;
--- 137,141 ----
} else {
if (p1.vertex().equalEps(current.vertex())) {
! insertPoint(current.vertex().copy());
cleanUp();
return;
***************
*** 144,152 ****
} else {
if (p2.vertex().equalEps(current.vertex())) {
! insertLine(p1.vertex(), p2.vertex());
cleanUp();
return;
} else {
! insertPlane(p1.vertex(), p2.vertex(), current.vertex());
cleanUp();
return;
--- 144,152 ----
} else {
if (p2.vertex().equalEps(current.vertex())) {
! insertLine(p1.vertex().copy(), p2.vertex().copy());
cleanUp();
return;
} else {
! insertPlane(p1.vertex().copy(), p2.vertex().copy(), current.vertex().copy());
cleanUp();
return;
|