Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21994
Modified Files:
Surface.java
Log Message:
changed contained check to use new version of the surrounds method, using plane precission of 1
Index: Surface.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** Surface.java 23 Nov 2005 13:21:50 -0000 1.48
--- Surface.java 23 Nov 2005 16:55:04 -0000 1.49
***************
*** 469,473 ****
//this can not happen so here we move the inner surface back
{
- log.info("contained check fejlede");
List vertices = getVertices();
Vertex v0 = (Vertex) vertices.get(0);
--- 469,472 ----
***************
*** 511,515 ****
boolean contained = true;
while (vertIt.hasNext() && contained) {
! contained = surf.surrounds((Vertex)vertIt.next());
}
return contained;
--- 510,514 ----
boolean contained = true;
while (vertIt.hasNext() && contained) {
! contained = surf.surrounds((Vertex)vertIt.next(), 1);
}
return contained;
***************
*** 887,891 ****
return null;
}
!
/**
* Return the hash code of the object
--- 886,890 ----
return null;
}
!
/**
* Return the hash code of the object
|