public void build ( Point3d [ ] points , int nump ) throws IllegalArgumentException { if ( nump < 4 ) { throw new IllegalArgumentException ( "Less than four input points specified" ) ; } if ( points . length < nump ) { throw new IllegalArgumentException ( "Point array too small for specified number of points" ) ; } initBuffers ( nump ) ; setPoints ( points , nump ) ; buildHull ( ) ; }
Constructs the convex hull of a set of points .