org.geotools.geometry.iso.util.elem2D
Class Node2D

java.lang.Object
  extended by java.awt.geom.Point2D
      extended by java.awt.geom.Point2D.Double
          extended by org.geotools.geometry.iso.util.elem2D.Node2D
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Node2D
extends java.awt.geom.Point2D.Double

Author:
roehrig TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Point2D
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float
 
Field Summary
 int id
           
 java.lang.Object link
           
 java.lang.Object object
           
 
Fields inherited from class java.awt.geom.Point2D.Double
x, y
 
Constructor Summary
Node2D(double x, double y)
           
Node2D(java.awt.geom.Point2D point2D)
           
 
Method Summary
 void appendEdges(Edge2D[] edges)
           
 Edge2D getEdge(Node2D n)
           
 Edge2D[] getEdges()
           
 java.lang.Object getObject()
           
 Simplex2D getSimplex()
           
 java.util.HashSet<Simplex2D> getSimplices()
           
 Simplex2D[] getSimplices(Node2D node2D)
           
 boolean hasEdge()
           
 boolean hasEdge(Edge2D edge)
           
 boolean hasID()
           
 boolean hasSimplex()
           
 void linkEdge(Edge2D e)
           
 void linkSimplex(Simplex2D s)
           
 void unlinkEdge(Edge2D e)
           
 
Methods inherited from class java.awt.geom.Point2D.Double
getX, getY, setLocation, toString
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public int id

link

public java.lang.Object link

object

public java.lang.Object object
Constructor Detail

Node2D

public Node2D(java.awt.geom.Point2D point2D)
Parameters:
point2D -

Node2D

public Node2D(double x,
              double y)
Parameters:
d -
e -
Method Detail

getObject

public java.lang.Object getObject()
Returns:
Returns the object.

hasID

public boolean hasID()

hasEdge

public boolean hasEdge()

hasSimplex

public boolean hasSimplex()

getEdge

public Edge2D getEdge(Node2D n)

getEdges

public Edge2D[] getEdges()

getSimplices

public Simplex2D[] getSimplices(Node2D node2D)
Parameters:
tri -
node2D -
Returns:

getSimplex

public Simplex2D getSimplex()

getSimplices

public java.util.HashSet<Simplex2D> getSimplices()

linkSimplex

public void linkSimplex(Simplex2D s)

linkEdge

public void linkEdge(Edge2D e)

unlinkEdge

public void unlinkEdge(Edge2D e)

appendEdges

public void appendEdges(Edge2D[] edges)
Parameters:
edges -

hasEdge

public boolean hasEdge(Edge2D edge)
Parameters:
edge2D -
Returns:


Copyright © 1996-2010 Geotools. All Rights Reserved.