else g.beginShape(PConstants.POINTS);
int itrs = (isPolygon)? numv+1 : numv;
for(int i=0; i<itrs; ++i) {
HVertex v = vertex(i<numv? i : 0);
v.draw(g, drawX, drawY, isSimple);
if(isSimple && drawsLines) isSimple = false;
}
if(isPolygon) g.endShape(PConstants.CLOSE);
else g.endShape();