Esempio n. 1
0
        public static XYPoint getPoint(double angle, double r, XYPoint origin)
        {
            XYPoint ret = getPoint(angle, r);

            ret.add(origin);
            return(ret);
        }
Esempio n. 2
0
        public XYPoint rotate(double angle, XYPoint origin)
        {
            XYPoint tmp = getClone();

            tmp.reduce(origin);
            tmp = tmp.rotate(angle);
            tmp.add(origin);
            return(tmp);
        }