net.sourceforge.plantuml.geom
Class Neighborhood

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

public class Neighborhood
extends Object


Constructor Summary
Neighborhood(Point2DInt center)
           
Neighborhood(Point2DInt center, double angle1, double angle2)
           
 
Method Summary
 Point2DInt getCenter()
           
 double getMiddle()
           
 Orientation getOrientationFrom(double angle)
           
 boolean is360()
           
 boolean isAngleLimit(double angle)
           
 boolean isInAngleLarge(double angle)
           
 boolean isInAngleStrict(double angle)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Neighborhood

public Neighborhood(Point2DInt center)

Neighborhood

public Neighborhood(Point2DInt center,
                    double angle1,
                    double angle2)
Method Detail

is360

public boolean is360()

toString

public String toString()
Overrides:
toString in class 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)


Copyright © 2011. All Rights Reserved.