Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23491/src/net/sourceforge/bprocessor/model
Modified Files:
Entity.java
Log Message:
Made Entity abstract so that center could be common for Edge, Space, Surface and Vertex.
Index: Entity.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Entity.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Entity.java 27 Jan 2006 11:30:56 -0000 1.4
--- Entity.java 27 Jan 2006 11:41:55 -0000 1.5
***************
*** 12,16 ****
* The entity class
*/
! public class Entity implements Serializable {
/** The id */
--- 12,16 ----
* The entity class
*/
! public abstract class Entity implements Serializable {
/** The id */
***************
*** 51,53 ****
--- 51,58 ----
}
+ /**
+ * Return the center for the entity
+ * @return The center as a vertex
+ */
+ public abstract Vertex center();
}
|