net.sourceforge.plantuml.geom
Class ClosedArea

java.lang.Object
  extended by net.sourceforge.plantuml.geom.ClosedArea

public class ClosedArea
extends Object


Constructor Summary
ClosedArea()
           
 
Method Summary
 Polyline addDirectLink(Point2DInt start, Point2DInt end)
           
 Polyline addPath(Point2DInt start, Point2DInt end)
          Deprecated. 
protected  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()
           
 int hashCode()
           
 boolean isClosed()
           
 boolean isOnFrontier(Point2DInt point)
           
 boolean isSimpleSegmentPossible(Point2DInt start, Point2DInt end)
           
protected  boolean knowThisPoint(Point2DInt p)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClosedArea

public ClosedArea()
Method Detail

toString

public String toString()

contains

public boolean contains(Point2DInt point)

isOnFrontier

public boolean isOnFrontier(Point2DInt point)

isClosed

public boolean isClosed()

addSegment

protected 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(Object obj)
Overrides:
equals in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

knowThisPoint

protected boolean knowThisPoint(Point2DInt p)

getSegments

protected final 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)

getPath

public Polyline getPath(Pointable start,
                        Pointable end)


Copyright © 2012. All Rights Reserved.