@Test public void testAdjustPoint() { final double X = 100d; final double Y = 200d; final double DELTA_X = 5d; final double DELTA_Y = 10d; final Point2D p = tested.adjustPoint(X, Y, DELTA_X, DELTA_Y); assertEquals(X, p.getX(), 0d); assertEquals(Y, p.getY(), 0d); }
@Override @SuppressWarnings("unused") public Point2D adjustPoint(final double x, final double y, final double deltaX, final double deltaY) { return new Point2D(x, y); }
DirectionalLine extends AbstractDirectionalMultiPointShape<DirectionalLine> { @Override @SuppressWarnings("unused") public Point2D adjustPoint(final double x, final double y, final double deltaX, final double deltaY) { return new Point2D(x, y); } }
DirectionalLine extends AbstractDirectionalMultiPointShape<DirectionalLine> { @Override @SuppressWarnings("unused") public Point2D adjustPoint(final double x, final double y, final double deltaX, final double deltaY) { return new Point2D(x, y); } DirectionalLine(final double x1,
                           final double y1,
                           final double x2,
                           final double y2);  DirectionalLine(final Point2D start,
                           final Point2D end);  DirectionalLine(final Point2DArray points); }
DirectionalLine extends AbstractDirectionalMultiPointShape<DirectionalLine> { @Override @SuppressWarnings("unused") public Point2D adjustPoint(final double x, final double y, final double deltaX, final double deltaY) { return new Point2D(x, y); } DirectionalLine(final double x1,
                           final double y1,
                           final double x2,
                           final double y2);  DirectionalLine(final Point2D start,
                           final Point2D end);  DirectionalLine(final Point2DArray points); DirectionalLine setControlPoints(final Point2DArray points); Point2DArray getControlPoints(); @Override DirectionalLine refresh(); @Override @SuppressWarnings("unused") Point2D adjustPoint(final double x,
                               final double y,
                               final double deltaX,
                               final double deltaY); @Override boolean isControlPointShape(); @Override boolean parse(final Attributes attr); @Override Point2D getTailOffsetPoint(); @Override Point2D getHeadOffsetPoint(); @Override DirectionalLine setPoint2DArray(final Point2DArray points); @Override Point2DArray getPoint2DArray(); @Override List<Attribute> getBoundingBoxAttributes(); @Override BoundingBox getBoundingBox(); }
DirectionalLine extends AbstractDirectionalMultiPointShape<DirectionalLine> { @Override @SuppressWarnings("unused") public Point2D adjustPoint(final double x, final double y, final double deltaX, final double deltaY) { return new Point2D(x, y); } DirectionalLine(final double x1,
                           final double y1,
                           final double x2,
                           final double y2);  DirectionalLine(final Point2D start,
                           final Point2D end);  DirectionalLine(final Point2DArray points); DirectionalLine setControlPoints(final Point2DArray points); Point2DArray getControlPoints(); @Override DirectionalLine refresh(); @Override @SuppressWarnings("unused") Point2D adjustPoint(final double x,
                               final double y,
                               final double deltaX,
                               final double deltaY); @Override boolean isControlPointShape(); @Override boolean parse(final Attributes attr); @Override Point2D getTailOffsetPoint(); @Override Point2D getHeadOffsetPoint(); @Override DirectionalLine setPoint2DArray(final Point2DArray points); @Override Point2DArray getPoint2DArray(); @Override List<Attribute> getBoundingBoxAttributes(); @Override BoundingBox getBoundingBox();  }