format("Invalid input to ST_LineString: consecutive duplicate points at index %s", i + 1)); multipath.lineTo(point.X(), point.Y());
void addPart(int iStart, int cPts) { if (cPts < 2) return; for (int i = 0; i < cPts; i++) { GraphicPoint pt = m_offsetPts.get(iStart + i); if (i != 0) m_resultPath.lineTo(new Point2D(pt.x, pt.y)); else m_resultPath.startPath(new Point2D(pt.x, pt.y)); } }
void addPart(int iStart, int cPts) { if (cPts < 2) return; for (int i = 0; i < cPts; i++) { GraphicPoint pt = m_offsetPts.get(iStart + i); if (i != 0) m_resultPath.lineTo(new Point2D(pt.x, pt.y)); else m_resultPath.startPath(new Point2D(pt.x, pt.y)); } }
format("Invalid input to ST_LineString: consecutive duplicate points at index %s", i + 1)); multipath.lineTo(point.X(), point.Y());
format("Invalid input to ST_LineString: consecutive duplicate points at index %s", i + 1)); multipath.lineTo(point.X(), point.Y());