us.ihmc.utilities.math.dataStructures
Class DoubleHashHeightMap

java.lang.Object
  extended by us.ihmc.utilities.math.dataStructures.DoubleHashHeightMap
All Implemented Interfaces:
HeightMap

public class DoubleHashHeightMap
extends java.lang.Object
implements HeightMap


Constructor Summary
DoubleHashHeightMap(double gridSize)
           
 
Method Summary
 boolean addPoint(double x, double y, double z)
           
 void clear()
           
 boolean containsPoint(double x, double y)
           
 java.util.List<javax.vecmath.Point3d> getAllPointsWithinArea(double xCenter, double yCenter, double xExtent, double yExtent)
           
 java.util.List<javax.vecmath.Point3d> getAllPointsWithinArea(double xCenter, double yCenter, double xExtent, double yExtent, InclusionFunction<javax.vecmath.Point3d> maskFunctionAboutCenter)
           
 double gridSize()
           
 double heightAtPoint(double x, double y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleHashHeightMap

public DoubleHashHeightMap(double gridSize)
Method Detail

heightAtPoint

public double heightAtPoint(double x,
                            double y)
Specified by:
heightAtPoint in interface HeightMap

containsPoint

public boolean containsPoint(double x,
                             double y)
Specified by:
containsPoint in interface HeightMap

addPoint

public boolean addPoint(double x,
                        double y,
                        double z)
Specified by:
addPoint in interface HeightMap

gridSize

public double gridSize()

clear

public void clear()
Specified by:
clear in interface HeightMap

getAllPointsWithinArea

public java.util.List<javax.vecmath.Point3d> getAllPointsWithinArea(double xCenter,
                                                                    double yCenter,
                                                                    double xExtent,
                                                                    double yExtent)
Specified by:
getAllPointsWithinArea in interface HeightMap

getAllPointsWithinArea

public java.util.List<javax.vecmath.Point3d> getAllPointsWithinArea(double xCenter,
                                                                    double yCenter,
                                                                    double xExtent,
                                                                    double yExtent,
                                                                    InclusionFunction<javax.vecmath.Point3d> maskFunctionAboutCenter)
Specified by:
getAllPointsWithinArea in interface HeightMap