Author: tomithy
Date: 2010-08-10 21:34:41 -0700 (Tue, 10 Aug 2010)
New Revision: 21331
Modified:
cytoscapeweb/branches/gsoc2010/gbeb/src/gbeb/util/delaunay/IEdge.as
Log:
-Version 0.9
Cleaned up codes.
Modified: cytoscapeweb/branches/gsoc2010/gbeb/src/gbeb/util/delaunay/IEdge.as
===================================================================
--- cytoscapeweb/branches/gsoc2010/gbeb/src/gbeb/util/delaunay/IEdge.as
2010-08-11 04:30:17 UTC (rev 21330)
+++ cytoscapeweb/branches/gsoc2010/gbeb/src/gbeb/util/delaunay/IEdge.as
2010-08-11 04:34:41 UTC (rev 21331)
@@ -1,12 +1,52 @@
+/*
+This file is part of Cytoscape Web.
+Copyright (c) 2009, The Cytoscape Consortium (www.cytoscape.org)
+
+The Cytoscape Consortium is:
+- Agilent Technologies
+- Institut Pasteur
+- Institute for Systems Biology
+- Memorial Sloan-Kettering Cancer Center
+- National Center for Integrative Biomedical Informatics
+- Unilever
+- University of California San Diego
+- University of California San Francisco
+- University of Toronto
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
+
package gbeb.util.delaunay
{
+
+ /**
+ * This class is used to represent edges in the Delaunay Triangulation
+ */
+
public class IEdge {
+ // ========[ PUBLIC PROPERTIES
]============================================================
+
public var p1, p2; // the two points that form the edge
(references key positions in a points array)
public var tris:Array; // an array of the one or two triangles
that share the edge (key)
public var numTris = 0; // how many tris the edge is a part of
(either one or two)
public var interPoints:Array; // an array of all the
interpolated points on this edge
+
+ // ========[ CONSTRUCTOR
]==================================================================
+
public function IEdge(p1=null,p2=null) {
if (p1 == null) {
this.p1 = this.p2 = -1;
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.