- All Superinterfaces:
BoundedShape<R>, BoundingShape<R>
- All Known Subinterfaces:
TraceAddressSnapRange
- All Known Implementing Classes:
AbstractDBTraceCodeUnit, AbstractDBTracePropertyMap.DBTraceIntPropertyMapEntry, AbstractDBTracePropertyMap.DBTraceLongPropertyMapEntry, AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry, AbstractDBTracePropertyMap.DBTraceStringPropertyMapEntry, AbstractDBTracePropertyMap.DBTraceVoidPropertyMapEntry, DBTraceAddressSnapRangePropertyMapTree.AbstractDBTraceAddressSnapRangePropertyMapData, DBTraceAddressSnapRangePropertyMapTree.DBTraceAddressSnapRangePropertyMapNode, DBTraceBookmark, DBTraceCommentAdapter.DBTraceCommentEntry, DBTraceData, DBTraceDataSettingsAdapter.DBTraceSettingsEntry, DBTraceEquateSpace.DBTraceEquateReference, DBTraceInstruction, DBTraceReferenceSpace.DBTraceReferenceEntry, DBTraceReferenceSpace.DBTraceXRefEntry, DBTraceRegisterContextManager.DBTraceRegisterContextEntry, DBTraceSymbolManager.DBTraceSymbolIDEntry, ImmutableRectangle2D, ImmutableTraceAddressSnapRange
public interface Rectangle2D<X,Y,R extends Rectangle2D<X,Y,R>>
extends BoundingShape<R>
-
Method Summary
default double
default double
default double
default boolean
default boolean
default boolean
default int
default boolean
Check if this rectangle is enclosed by another rectangle
static <X,
Y> boolean
default boolean
Check if this rectangle encloses another rectangle
default double
default double
default boolean
-
Method Details
-
-
-
-
-
-
-
doEquals
default boolean doEquals(Object obj)
-
doHashCode
default int doHashCode()
-
-
contains
default boolean contains(X x,
Y y)
-
-
-
-
-
-
-
immutable
R immutable(X x1,
X x2,
Y y1,
Y y2)
-
-
intersects
default boolean intersects(R shape)
-
intersection
default R intersection(R shape)
-
encloses
default boolean encloses(R shape)
Check if this rectangle encloses another rectangle
- Specified by:
encloses in interface BoundingShape<X>
- Parameters:
shape - the other (presumably-inner) rectangle
- Returns:
- true if this rectangle encloses the other
-
enclosedBy
default boolean enclosedBy(R shape)
Check if this rectangle is enclosed by another rectangle
- Parameters:
shape - the other (presumably-outer) rectangle
- Returns:
- true if this rectangle is enclosed by the other