public class Kingdom extends Object
Constructor and Description |
---|
Kingdom() |
Modifier and Type | Method and Description |
---|---|
Polyline |
addDirectLink(Point2DInt start,
Point2DInt end) |
Polyline |
addPath(Point2DInt start,
Point2DInt end)
Deprecated.
|
void |
addSegment(LineSegmentInt seg) |
boolean |
arePointsConnectable(Point2DInt p1,
Point2DInt p2) |
boolean |
equals(Object obj) |
Set<ClosedArea> |
getAllClosedArea() |
Polyline |
getPath(Pointable start,
Pointable end) |
protected Set<LineSegmentInt> |
getSegments() |
Singularity |
getSingularity(Point2DInt center) |
int |
hashCode() |
boolean |
isConnectable(Neighborhood n1,
Neighborhood n2) |
boolean |
isConnectable(Point2DInt p,
Neighborhood n) |
boolean |
isSimpleSegmentPossible(Point2DInt start,
Point2DInt end) |
protected boolean |
knowThisPoint(Point2DInt p) |
String |
toString() |
public Set<ClosedArea> getAllClosedArea()
public boolean arePointsConnectable(Point2DInt p1, Point2DInt p2)
protected boolean knowThisPoint(Point2DInt p)
public void addSegment(LineSegmentInt seg)
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 © 2017. All Rights Reserved.