public class HomeArea
extends java.lang.Object
| Constructor and Description |
|---|
HomeArea(double x1,
double y1,
double x2,
double y2) |
HomeArea(org.apache.commons.math3.geometry.euclidean.twod.Vector2D topLeft,
org.apache.commons.math3.geometry.euclidean.twod.Vector2D botRight) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(org.apache.commons.math3.geometry.euclidean.twod.Vector2D other) |
org.apache.commons.math3.geometry.euclidean.twod.Vector2D |
getMidpoint() |
boolean |
isNearCenter(org.apache.commons.math3.geometry.euclidean.twod.Vector2D anotherPosition,
double margin) |
public HomeArea(org.apache.commons.math3.geometry.euclidean.twod.Vector2D topLeft,
org.apache.commons.math3.geometry.euclidean.twod.Vector2D botRight)
public HomeArea(double x1,
double y1,
double x2,
double y2)
public org.apache.commons.math3.geometry.euclidean.twod.Vector2D getMidpoint()
public boolean isNearCenter(org.apache.commons.math3.geometry.euclidean.twod.Vector2D anotherPosition,
double margin)
public boolean contains(org.apache.commons.math3.geometry.euclidean.twod.Vector2D other)