edu.jhu.cs.cisst.algorithms.geometry.surface
Class IsoContourGenerator.EdgeSplit

java.lang.Object
  extended by edu.jhu.cs.cisst.algorithms.geometry.surface.IsoContourGenerator.EdgeSplit
Enclosing class:
IsoContourGenerator

protected class IsoContourGenerator.EdgeSplit
extends java.lang.Object

The Class EdgeSplit is a container to describe a level set crossing point.


Field Summary
 IsoContourGenerator.Edge e1
          The e2.
 IsoContourGenerator.Edge e2
          The e2.
 
Constructor Summary
IsoContourGenerator.EdgeSplit(Point2i pt1, Point2i pt2)
          Instantiates a new edge split.
 
Method Summary
 boolean equals(IsoContourGenerator.EdgeSplit split)
          Compare two edge splits.
 long hashValue()
          Hash value that uniquely identifies edge split.
 long hashValue(Point2i pt)
          Generate hash value for grid point.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

e1

public IsoContourGenerator.Edge e1
The e2.


e2

public IsoContourGenerator.Edge e2
The e2.

Constructor Detail

IsoContourGenerator.EdgeSplit

public IsoContourGenerator.EdgeSplit(Point2i pt1,
                                     Point2i pt2)
Instantiates a new edge split.

Parameters:
pt1 - the lower grid point
pt2 - the upper grid point
Method Detail

equals

public boolean equals(IsoContourGenerator.EdgeSplit split)
Compare two edge splits.

Parameters:
split - the split
Returns:
true, if successful

hashValue

public long hashValue()
Hash value that uniquely identifies edge split.

Returns:
the hash value

hashValue

public long hashValue(Point2i pt)
Generate hash value for grid point.

Parameters:
pt - the grid point
Returns:
the hash value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object