public interface MBR2D
| 限定符和类型 | 方法和说明 |
|---|---|
double |
getMaxX()
Get the maximum x value
|
double |
getMaxY()
Get the maximum y value
|
double |
getMinX()
Get the minimum x value
|
double |
getMinY()
Get the minimum y value
|
boolean |
intersects(MBR2D other)
Check if the other MBR intersects this one
|
MBR2D |
union(MBR2D mbr)
Return a new MBR that is the union of this mbr and the other
|
double getMinX()
double getMinY()
double getMaxX()
double getMaxY()
MBR2D union(MBR2D mbr)
mbr - the MBR to create a union withboolean intersects(MBR2D other)
other - the MBR to check againstCopyright © 2017. All rights reserved.