[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Edge.java, 1.86, 1.87
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Nordholt <nor...@us...> - 2007-04-23 14:48:00
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29618/src/net/sourceforge/bprocessor/model Modified Files: Edge.java Log Message: check if there are no surfaces Index: Edge.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Edge.java,v retrieving revision 1.86 retrieving revision 1.87 diff -C2 -d -r1.86 -r1.87 *** Edge.java 21 Apr 2007 13:36:50 -0000 1.86 --- Edge.java 23 Apr 2007 14:47:59 -0000 1.87 *************** *** 1010,1014 **** Map<Surface, Double> surToAngle = new HashMap<Surface, Double>(); List<Surface> surfs = Geometry.neighbourAroundEdge(side, e, surToAngle); ! if (surfs != null) { //for front domain Surface inside = surfs.get(0); --- 1010,1014 ---- Map<Surface, Double> surToAngle = new HashMap<Surface, Double>(); List<Surface> surfs = Geometry.neighbourAroundEdge(side, e, surToAngle); ! if (surfs != null && !surfs.isEmpty()) { //for front domain Surface inside = surfs.get(0); |