[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model/modellor InnerWallModellor.java, 1.
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Nordholt <nor...@us...> - 2007-05-09 09:05:49
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22432/src/net/sourceforge/bprocessor/model/modellor Modified Files: InnerWallModellor.java Log Message: final before demo Index: InnerWallModellor.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor/InnerWallModellor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** InnerWallModellor.java 7 May 2007 15:44:38 -0000 1.2 --- InnerWallModellor.java 9 May 2007 09:05:43 -0000 1.3 *************** *** 50,54 **** /** The classification id for a innerwall */ ! public static final String INNERWALL_CLASS = "-205"; /** The space of this modellor */ --- 50,57 ---- /** The classification id for a innerwall */ ! public static final String INNERWALL_CLASS = "-1.-205"; ! ! /** The classification id for a innerwall */ ! public static final String EXTERIOR = "-1.-80"; /** The space of this modellor */ *************** *** 346,349 **** --- 349,353 ---- Set<Surface> envelope = space.getEnvelope(); for (Surface s : envelope) { + //support for other innerwalls Space front = s.getFrontDomain(); Space back = s.getBackDomain(); *************** *** 384,388 **** support2.move(move); net.insert(support2); ! } } } --- 388,392 ---- support2.move(move); net.insert(support2); ! } } } *************** *** 398,403 **** Classification backClass = back.getClassification(); if ((frontClass != null && backClass != null) && ! ((frontClass.getFullId(front).equalsIgnoreCase("-80") && front != space) || ! (backClass.getFullId(back).equalsIgnoreCase("-80") && back != space))) { surface = s; break; --- 402,407 ---- Classification backClass = back.getClassification(); if ((frontClass != null && backClass != null) && ! ((frontClass.getFullId(front).equalsIgnoreCase(EXTERIOR) && front != space) || ! (backClass.getFullId(back).equalsIgnoreCase(EXTERIOR) && back != space))) { surface = s; break; |