geoComplex
Interface GeoCell

All Superinterfaces:
Cell
All Known Implementing Classes:
DBGeoCell, StandardGeoCell

public interface GeoCell
extends Cell

Represents a cell of a geometric complex, adding geometric information to the Cell interface. The geometry of the cell (that is: an embedding of this cell into n-dimensional euclidean space) is defined by a Geometry object.

Author:
karsten

Method Summary
 boolean contains(Point p)
          Test, if the Cell contains a given point.
 GeoComplex getGeoComplex()
          Returns the GeoComplex containing this cell.
 Geometry getGeometry()
          Returns the geometric information of this cell.
 java.awt.Shape toShape(java.awt.geom.AffineTransform transform)
          Returns this cell as a shape, if this cell is contained in a two-dimensional complex.
 
Methods inherited from interface complex.Cell
getBoundary, getComplex, getDim, getID
 

Method Detail

getGeoComplex

public GeoComplex getGeoComplex()
Returns the GeoComplex containing this cell. This is a shortcut for (GeoComplex) getComplex().


getGeometry

public Geometry getGeometry()
Returns the geometric information of this cell.

Returns:
the associated Geometry object containing the geometric information of this cell

contains

public boolean contains(Point p)
Test, if the Cell contains a given point.

Parameters:
p - a point
Returns:
true iff the point is contained in the cell

toShape

public java.awt.Shape toShape(java.awt.geom.AffineTransform transform)
Returns this cell as a shape, if this cell is contained in a two-dimensional complex.

Returns:
a Shape object describing the cell