Package net.sourceforge.plantuml.geom
Class Neighborhood
- java.lang.Object
-
- net.sourceforge.plantuml.geom.Neighborhood
-
public class Neighborhood extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Neighborhood(Point2DInt center)Neighborhood(Point2DInt center, double angle1, double angle2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point2DIntgetCenter()doublegetMiddle()OrientationgetOrientationFrom(double angle)booleanis360()booleanisAngleLimit(double angle)booleanisInAngleLarge(double angle)booleanisInAngleStrict(double angle)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Neighborhood
public Neighborhood(Point2DInt center)
-
Neighborhood
public Neighborhood(Point2DInt center, double angle1, double angle2)
-
-
Method Detail
-
is360
public boolean is360()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getCenter
public final Point2DInt getCenter()
-
getMiddle
public final double getMiddle()
-
isInAngleStrict
public boolean isInAngleStrict(double angle)
-
isInAngleLarge
public boolean isInAngleLarge(double angle)
-
isAngleLimit
public boolean isAngleLimit(double angle)
-
getOrientationFrom
public Orientation getOrientationFrom(double angle)
-
-