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

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

protected class IsoSurfaceGenerator.EdgeSplit
extends java.lang.Object

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


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

Constructor Detail

IsoSurfaceGenerator.EdgeSplit

public IsoSurfaceGenerator.EdgeSplit(Point3i pt1,
                                     Point3i pt2)
Instantiates a new edge split.

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

equals

public boolean equals(IsoSurfaceGenerator.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(Point3i pt)
Generate hash value for grid point

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