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 PolylineaddDirectLink(Point2DInt start, Point2DInt end)PolylineaddPath(Point2DInt start, Point2DInt end)Deprecated.voidaddSegment(LineSegmentInt seg)booleancontains(ClosedArea other)booleancontains(Point2DInt point)booleanequals(java.lang.Object obj)Point2DIntgetFreePoint()LineSegmentIntgetLastSegment()intgetMaxX()intgetMaxY()intgetMinX()intgetMinY()PolylinegetPath(Pointable start, Pointable end)protected java.util.Set<LineSegmentInt>getSegments()SingularitygetSingularity(Point2DInt center)inthashCode()booleanisClosed()booleanisConnectable(Neighborhood n1, Neighborhood n2)booleanisConnectable(Point2DInt p, Neighborhood n)booleanisOnFrontier(Point2DInt point)booleanisSimpleSegmentPossible(Point2DInt start, Point2DInt end)protected booleanknowThisPoint(Point2DInt p)java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCodein 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)
-
-