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 Point2DInt
getCenter()
double
getMiddle()
Orientation
getOrientationFrom(double angle)
boolean
is360()
boolean
isAngleLimit(double angle)
boolean
isInAngleLarge(double angle)
boolean
isInAngleStrict(double angle)
java.lang.String
toString()
-
-
-
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:
toString
in 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)
-
-