Alias g.shapePoints to g.toPoints.