public class ClosedArea
extends java.lang.Object
Constructor and Description |
---|
ClosedArea() |
Modifier and Type | Method and Description |
---|---|
Polyline |
addDirectLink(Point2DInt start,
Point2DInt end) |
Polyline |
addPath(Point2DInt start,
Point2DInt end)
Deprecated.
|
void |
addSegment(LineSegmentInt seg) |
boolean |
contains(ClosedArea other) |
boolean |
contains(Point2DInt point) |
boolean |
equals(java.lang.Object obj) |
Point2DInt |
getFreePoint() |
LineSegmentInt |
getLastSegment() |
int |
getMaxX() |
int |
getMaxY() |
int |
getMinX() |
int |
getMinY() |
Polyline |
getPath(Pointable start,
Pointable end) |
protected java.util.Set<LineSegmentInt> |
getSegments() |
Singularity |
getSingularity(Point2DInt center) |
int |
hashCode() |
boolean |
isClosed() |
boolean |
isConnectable(Neighborhood n1,
Neighborhood n2) |
boolean |
isConnectable(Point2DInt p,
Neighborhood n) |
boolean |
isOnFrontier(Point2DInt point) |
boolean |
isSimpleSegmentPossible(Point2DInt start,
Point2DInt end) |
protected boolean |
knowThisPoint(Point2DInt p) |
java.lang.String |
toString() |
public java.lang.String toString()
public boolean contains(Point2DInt point)
public boolean isOnFrontier(Point2DInt point)
public boolean isClosed()
public void addSegment(LineSegmentInt seg)
public LineSegmentInt getLastSegment()
public Point2DInt getFreePoint()
public int getMinY()
public int getMinX()
public int getMaxY()
public int getMaxX()
public boolean contains(ClosedArea other)
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
protected boolean knowThisPoint(Point2DInt p)
protected final java.util.Set<LineSegmentInt> getSegments()
@Deprecated public Polyline addPath(Point2DInt start, Point2DInt end)
public Polyline addDirectLink(Point2DInt start, Point2DInt end)
public boolean isSimpleSegmentPossible(Point2DInt start, Point2DInt end)
public boolean isConnectable(Point2DInt p, Neighborhood n)
public boolean isConnectable(Neighborhood n1, Neighborhood n2)
public Singularity getSingularity(Point2DInt center)