[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Surface.java, 1.125, 1.126
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Michael L. <he...@us...> - 2006-12-11 10:04:52
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8445/src/net/sourceforge/bprocessor/model Modified Files: Surface.java Log Message: Surface.direction() implemented Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.125 retrieving revision 1.126 diff -C2 -d -r1.125 -r1.126 *** Surface.java 8 Dec 2006 13:37:09 -0000 1.125 --- Surface.java 11 Dec 2006 10:04:43 -0000 1.126 *************** *** 266,270 **** /** ! * Return the first vertex, which is the vertex from * first edge that is NOT shared between first and * second edge. --- 266,270 ---- /** ! * Returns the first vertex, which is the vertex from * first edge that is NOT shared between first and * second edge. *************** *** 277,280 **** --- 277,293 ---- /** + * Returns the turn direction of this Surface with respect to the + * given coordinate-system. + * @param system a coordinate-system in which the turn direction + * of this Surface should be calculated + * @return the turn direction of this Surface in the given + * coordinate-system. LEFT means counter-clockwise and RIGHT + * means clockwise. + */ + public int direction(CoordinateSystem system) { + return direction(edges, system); + } + + /** * Delete surface * |