maspack.geometry
Class HashedPointSet

java.lang.Object
  extended by maspack.geometry.HashedPointSet
All Implemented Interfaces:
java.lang.Iterable<Point3d>

public class HashedPointSet
extends java.lang.Object
implements java.lang.Iterable<Point3d>


Constructor Summary
HashedPointSet()
           
HashedPointSet(int capacity)
           
 
Method Summary
 boolean add(Point3d pnt)
           
 int capacity()
           
 Point3d[] getPoints()
           
 double[] getPointsAsDoubleArray()
           
 java.util.Iterator<Point3d> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashedPointSet

public HashedPointSet()

HashedPointSet

public HashedPointSet(int capacity)
Method Detail

size

public int size()

capacity

public int capacity()

add

public boolean add(Point3d pnt)

getPoints

public Point3d[] getPoints()

iterator

public java.util.Iterator<Point3d> iterator()
Specified by:
iterator in interface java.lang.Iterable<Point3d>

getPointsAsDoubleArray

public double[] getPointsAsDoubleArray()