Constructor and Description |
---|
PolylineBreakeable(Pointable start,
Pointable end) |
Modifier and Type | Method and Description |
---|---|
GeneralPath |
asGeneralPath() |
Point2DInt |
clipEnd(Box box) |
Point2DInt |
clipStart(Box box) |
PolylineBreakeable |
copy(Pointable newStart,
Pointable newEnd) |
boolean |
doesTouch(Polyline other) |
double |
getDistance(Box b) |
double |
getDistance(Polyline other) |
Pointable |
getEnd() |
LineSegmentInt |
getFirst() |
List<XMoveable> |
getFreedoms() |
LineSegmentInt |
getLast() |
double |
getLength() |
int |
getMaxX() |
int |
getMaxY() |
int |
getMinX() |
int |
getMinY() |
Pointable |
getStart() |
void |
insertBetweenPoint(int u,
int d) |
boolean |
intersectBox(Box b) |
int |
nbSegments() |
List<LineSegmentInt> |
segments() |
String |
toString() |
public PolylineBreakeable copy(Pointable newStart, Pointable newEnd)
public List<LineSegmentInt> segments()
public int nbSegments()
nbSegments
in interface Polyline
public void insertBetweenPoint(int u, int d)
public final boolean doesTouch(Polyline other)
public final LineSegmentInt getFirst()
public final LineSegmentInt getLast()
public final Point2DInt clipStart(Box box)
public final Point2DInt clipEnd(Box box)
public final boolean intersectBox(Box b)
public final double getDistance(Box b)
public final double getDistance(Polyline other)
public final GeneralPath asGeneralPath()
public final int getMinX()
public final int getMinY()
public final int getMaxX()
public final int getMaxY()
public final Pointable getStart()
public final Pointable getEnd()
Copyright © 2014. All Rights Reserved.