Package net.sourceforge.plantuml.geom
Class ClosedArea
- java.lang.Object
-
- net.sourceforge.plantuml.geom.ClosedArea
-
public class ClosedArea extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ClosedArea()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
-
contains
public boolean contains(Point2DInt point)
-
isOnFrontier
public boolean isOnFrontier(Point2DInt point)
-
isClosed
public boolean isClosed()
-
addSegment
public void addSegment(LineSegmentInt seg)
-
getLastSegment
public LineSegmentInt getLastSegment()
-
getFreePoint
public Point2DInt getFreePoint()
-
getMinY
public int getMinY()
-
getMinX
public int getMinX()
-
getMaxY
public int getMaxY()
-
getMaxX
public int getMaxX()
-
contains
public boolean contains(ClosedArea other)
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
knowThisPoint
protected boolean knowThisPoint(Point2DInt p)
-
getSegments
protected final java.util.Set<LineSegmentInt> getSegments()
-
addPath
@Deprecated public Polyline addPath(Point2DInt start, Point2DInt end)
Deprecated.
-
addDirectLink
public Polyline addDirectLink(Point2DInt start, Point2DInt end)
-
isSimpleSegmentPossible
public boolean isSimpleSegmentPossible(Point2DInt start, Point2DInt end)
-
isConnectable
public boolean isConnectable(Point2DInt p, Neighborhood n)
-
isConnectable
public boolean isConnectable(Neighborhood n1, Neighborhood n2)
-
getSingularity
public Singularity getSingularity(Point2DInt center)
-
-