Methods
(static) overlaps(elevation1, height1, elevation2, height2) → {boolean}
Check if two elevation intervals overlap.
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
elevation1 | number | 0 | Base elevation of entity 1 |
height1 | number | 1 | Height span of entity 1 |
elevation2 | number | 0 | Base elevation of entity 2 |
height2 | number | 1 | Height span of entity 2 |
- Source
Returns:
- Type:
- boolean