var drawer=new RinomDrawXE(eyes point, view plane center, x,y,z dimensions,initial point capacity, initial shape capacity); drawer.addPoint(point); //do many, all points same dimension number drawer.addShape(shape); //do many, indices of points drawer.setPoints2d(round with float, whether to round, precision padding float); drawer.reverse x or y(); drawer.offset([x,y]); drawer.setDrawOrder(); //Next go from drawer.drawOrder end to start, each index is a shape. //Use drawer.points2d same indices as points input in their order. //Do not draw shapes where a point is null or has a not a number value. drawer.reset(); //And you are done this draw call X E.
All points you enter in should be exactly same number of integer dimensions. This only accepts planar straight line polygons that do not intersect themselves, straight lines, and points. All numbers must be real and finite. No NaN or Infinity. This can handle what your computer can handle for number of things. Technically it has bounds of your computer limits so it is not infinite dimensional.