net.sourceforge.plantuml.graph2
Class Neighborhood2
java.lang.Object
net.sourceforge.plantuml.graph2.Neighborhood2
public class Neighborhood2
- extends java.lang.Object
Constructor Summary |
Neighborhood2(java.awt.geom.Point2D.Double center)
|
Neighborhood2(java.awt.geom.Point2D.Double center,
double angle1,
double angle2)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Neighborhood2
public Neighborhood2(java.awt.geom.Point2D.Double center)
Neighborhood2
public Neighborhood2(java.awt.geom.Point2D.Double center,
double angle1,
double angle2)
is360
public boolean is360()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCenter
public final java.awt.geom.Point2D.Double getCenter()
getPointInNeighborhood
public java.awt.geom.Point2D.Double getPointInNeighborhood(double dist,
java.awt.geom.Point2D p1,
java.awt.geom.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 © 2011. All Rights Reserved.