public class GlobalProtectedRegion extends ProtectedRegion
Global regions, however, are used to specify a region with flags that are applied with the lowest priority.
ProtectedRegion.CircularInheritanceExceptionGLOBAL_REGION, max, min| Constructor and Description |
|---|
GlobalProtectedRegion(String id)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(com.sk89q.worldedit.Vector pt)
Check to see if a point is inside this region.
|
List<ProtectedRegion> |
getIntersectingRegions(Collection<ProtectedRegion> regions)
Return a list of regions from the given list of regions that intersect
with this region.
|
List<com.sk89q.worldedit.BlockVector2D> |
getPoints()
Get points of the region projected onto the X-Z plane.
|
RegionType |
getType()
Get the type of region.
|
boolean |
isPhysicalArea()
Return whether this type of region encompasses physical area.
|
int |
volume()
Get the number of blocks in this region.
|
clearParent, compareTo, contains, contains, containsAny, copyFrom, equals, getFlag, getFlags, getId, getMaximumPoint, getMembers, getMinimumPoint, getOwners, getParent, getPriority, getTypeName, hashCode, hasMembersOrOwners, intersects, intersectsBoundingBox, intersectsEdges, isDirty, isMember, isMember, isMemberOnly, isOwner, isOwner, isValidId, setDirty, setFlag, setFlags, setMembers, setMinMaxPoints, setOwners, setParent, setPriority, toStringpublic GlobalProtectedRegion(String id)
id - the IDpublic boolean isPhysicalArea()
ProtectedRegionisPhysicalArea in class ProtectedRegionpublic List<com.sk89q.worldedit.BlockVector2D> getPoints()
ProtectedRegiongetPoints in class ProtectedRegionpublic int volume()
ProtectedRegionvolume in class ProtectedRegionpublic boolean contains(com.sk89q.worldedit.Vector pt)
ProtectedRegioncontains in class ProtectedRegionpt - The point to checkpt is in this regionpublic RegionType getType()
ProtectedRegiongetType in class ProtectedRegionpublic List<ProtectedRegion> getIntersectingRegions(Collection<ProtectedRegion> regions)
ProtectedRegiongetIntersectingRegions in class ProtectedRegionregions - a list of regions to source fromregions that intersect with this regionCopyright © 2015. All Rights Reserved.