public class ClosedArea extends 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(Object obj) |
Point2DInt |
getFreePoint() |
LineSegmentInt |
getLastSegment() |
int |
getMaxX() |
int |
getMaxY() |
int |
getMinX() |
int |
getMinY() |
Polyline |
getPath(Pointable start,
Pointable end) |
protected 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) |
String |
toString() |
public 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)
protected boolean knowThisPoint(Point2DInt p)
protected final 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)
Copyright © 2015. All Rights Reserved.