Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv28755/src/net/sourceforge/bprocessor/gl/view
Modified Files:
View.java
Log Message:
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.293
retrieving revision 1.294
diff -C2 -d -r1.293 -r1.294
*** View.java 5 Feb 2010 13:32:59 -0000 1.293
--- View.java 5 Feb 2010 15:00:31 -0000 1.294
***************
*** 1588,1612 ****
}
- {
- System.out.println("-- process select --");
- if (surface != null) {
- System.out.println(" surface: " + surface.getLastInPath());
- } else {
- System.out.println(" surface: null");
- }
- if (vertex != null) {
- System.out.println(" vertex: " + vertex.getLastInPath());
- } else {
- System.out.println(" vertex: null");
- }
- if (edge != null) {
- System.out.println(" edge: " + edge.getLastInPath());
- } else {
- System.out.println(" edge: null");
- }
- System.out.println(" glo: " + glo);
-
- }
-
if (surface != null) {
if (unWantedEntities.contains(surface.getLastInPath())) {
--- 1588,1591 ----
***************
*** 1620,1624 ****
if (nearestSurface < nearestVertex) {
if (plane != null && !plane.contains((Vertex)vertex.getLastInPath())) {
- System.out.println(" surface kills vertex");
vertex = null;
}
--- 1599,1602 ----
***************
*** 1638,1642 ****
if (!((Edge)edge.getLastInPath()).intersects((Vertex)vertex.getLastInPath())) {
vertex = null;
- System.out.println(" edge kills vertex");
} else {
edge = null;
--- 1616,1619 ----
***************
*** 1691,1696 ****
if (!glo.contains((Vertex) vertex.getLastInPath())) {
vertex = null;
- } else {
- System.out.println(" its a keeper");
}
}
--- 1668,1671 ----
***************
*** 1698,1721 ****
}
if (intersections) {
- {
- System.out.println("-- intersect --");
- if (surface != null) {
- System.out.println(" surface: " + surface.getLastInPath());
- }
- if (vertex != null) {
- System.out.println(" vertex: " + vertex.getLastInPath());
- }
- if (edge != null) {
- System.out.println(" edge: " + edge.getLastInPath());
- }
- if (glo != null) {
- System.out.println(" glo: " + glo);
- }
- }
-
Intersection intersection = findIntersected(unWantedEntities, xy, surface, vertex, edge,
glo, object, edges);
- System.out.println(" intersection: " + intersection);
-
return intersection;
} else {
--- 1673,1678 ----
|