Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv25393/src/net/sourceforge/bprocessor/model
Modified Files:
Sorter.java
Added Files:
SurfaceSorter.java
Log Message:
Removed focus request
--- NEW FILE: SurfaceSorter.java ---
//---------------------------------------------------------------------------------
// $Id: SurfaceSorter.java,v 1.1 2007/05/03 09:40:38 henryml Exp $
//
// Copyright (c) 2005 The BProcessor Team (http://bprocessor.sourceforge.net)
// Released under the Lesser GNU Public License v2.1
//---------------------------------------------------------------------------------
package net.sourceforge.bprocessor.model;
/**
* @param <T> Surface
*/
public class SurfaceSorter<T extends Surface> extends Sorter<T> {
private Edge edge;
/**
* @param edge Edge
*/
public SurfaceSorter(Edge edge) {
this.edge = edge;
}
/** {@inheritDoc} */
@Override
public Entry entryFor(T surface) {
Vertex normal = surface.normal();
Vertex direction = edge.getDirection();
return null;
}
}
Index: Sorter.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Sorter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Sorter.java 2 May 2007 11:39:50 -0000 1.2
--- Sorter.java 3 May 2007 09:40:38 -0000 1.3
***************
*** 15,19 ****
* @param <T> type of node
*/
! public class Sorter<T> {
/**
--- 15,19 ----
* @param <T> type of node
*/
! public abstract class Sorter<T> {
/**
***************
*** 22,26 ****
* @return The entry
*/
! public Entry entryFor(T n) { return null; }
/**
--- 22,26 ----
* @return The entry
*/
! public abstract Entry entryFor(T n);
/**
|