npts = xs.length;
        public boolean generate(Projection proj) {            int i, j, npts;            shape = null;            if (proj == null) {                Debug.message("omgraphic",                        "OMPoly: null projection in generate!");                return false;            }            if (xs == null) {                Debug.message("omgraphic",                        "OMPoly x/y rendertype null coordinates");                return false;            }            npts = xs.length;            // Need to keep these around for the LabeledOMPoly            xpoints = new int[1][0];            xpoints[0] = xs;            ypoints = new int[1][0];            ypoints[0] = ys;            if (doShapes) {                createShape();            }            setNeedToRegenerate(false);            return true;        }