public class Neighborhood2 extends Object
Constructor and Description |
---|
Neighborhood2(Point2D.Double center) |
Neighborhood2(Point2D.Double center,
double angle1,
double angle2) |
Modifier and Type | Method and Description |
---|---|
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() |
public Neighborhood2(Point2D.Double center)
public Neighborhood2(Point2D.Double center, double angle1, double angle2)
public boolean is360()
public final Point2D.Double getCenter()
public Point2D.Double getPointInNeighborhood(double dist, Point2D p1, Point2D p2)
public boolean isInAngleStrict(double angle)
public boolean isInAngleLarge(double angle)
public boolean isAngleLimit(double angle)
public Orientation getOrientationFrom(double angle)
public boolean isConnectable(Neighborhood2 other)
Copyright © 2014. All Rights Reserved.