net.sourceforge.plantuml.graph2
Class Neighborhood2

java.lang.Object
  extended by net.sourceforge.plantuml.graph2.Neighborhood2

public class Neighborhood2
extends Object


Constructor Summary
Neighborhood2(Point2D.Double center)
           
Neighborhood2(Point2D.Double center, double angle1, double angle2)
           
 
Method Summary
 boolean equals(Object obj)
           
 Point2D.Double getCenter()
           
 Orientation getOrientationFrom(double angle)
           
 Point2D.Double getPointInNeighborhood(double dist, Point2D p1, Point2D p2)
           
 int hashCode()
           
 boolean is360()
           
 boolean isAngleLimit(double angle)
           
 boolean isConnectable(Neighborhood2 other)
           
 boolean isInAngleLarge(double angle)
           
 boolean isInAngleStrict(double angle)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Neighborhood2

public Neighborhood2(Point2D.Double center)

Neighborhood2

public Neighborhood2(Point2D.Double center,
                     double angle1,
                     double angle2)
Method Detail

is360

public boolean is360()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getCenter

public final Point2D.Double getCenter()

getPointInNeighborhood

public Point2D.Double getPointInNeighborhood(double dist,
                                             Point2D p1,
                                             Point2D p2)

isInAngleStrict

public boolean isInAngleStrict(double angle)

isInAngleLarge

public boolean isInAngleLarge(double angle)

isAngleLimit

public boolean isAngleLimit(double angle)

getOrientationFrom

public Orientation getOrientationFrom(double angle)

isConnectable

public boolean isConnectable(Neighborhood2 other)


Copyright © 2013. All Rights Reserved.