| Package | Description |
|---|---|
| org.xmlcml.euclid |
| Modifier and Type | Method and Description |
|---|---|
Int2Range |
Int2Range.getInt2RangeExtendedInX(int leftSide,
int rightSide)
extends XRange.
|
Int2Range |
Int2Range.getInt2RangeExtendedInY(int topExtend,
int bottomExtend)
extends XRange.
|
Int2Range |
Int2Range.intersectionWith(Int2Range r2)
intersect two ranges and take the range common to both; return invalid
range if no overlap or either is null/invalid
|
Int2Range |
Int2Range.plus(Int2Range r2)
merge two ranges and take the maximum extents
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Int2Range.includes(Int2Range r)
is one Int2Range completely within another
|
Int2Range |
Int2Range.intersectionWith(Int2Range r2)
intersect two ranges and take the range common to both; return invalid
range if no overlap or either is null/invalid
|
boolean |
Int2Range.isEqualTo(Int2Range r2)
is equal to.
|
Int2Range |
Int2Range.plus(Int2Range r2)
merge two ranges and take the maximum extents
|
boolean |
Int2Range.touches(Int2Range bbox)
do two boxes touch?
if box a extends to x and box b extends from x+1 they are touching.
|
| Constructor and Description |
|---|
Int2Range(Int2Range r)
copy constructor
|
Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.