public UPath translate(double dx, double dy) { final UPath result = new UPath(); for (USegment seg : segments) { result.addInternal(seg.translate(dx, dy)); } return result; }
public UPath rotate(double theta) { final UPath result = new UPath(); for (USegment seg : segments) { result.addInternal(seg.rotate(theta)); } return result; }
public void add(double[] coord, USegmentType pathType) { addInternal(new USegment(coord, pathType)); }