Skip to content

Commit f2737d3

Browse files
kabilarhotzenklotz
andauthored
Add clarification that bounding box size is in units of voxels (#1289)
* Add clarification that bounding box is in units of voxels * Update changelog --------- Co-authored-by: Tom Herold <[email protected]>
1 parent 9d5257c commit f2737d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

webknossos/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ For upgrade instructions, please check the respective _Breaking Changes_ section
4242

4343
### Changed
4444
- Using `x-auth-header` to send tokens to datastore. [#1270](https://github.com/scalableminds/webknossos-libs/pull/1270)
45+
- Add clarification that bounding box size is in units of voxels [#1289](https://github.com/scalableminds/webknossos-libs/pull/1289)
4546

4647
### Fixed
4748
- Fixed an issue with upsampling views. [#1287](https://github.com/scalableminds/webknossos-libs/pull/1287)

webknossos/webknossos/geometry/bounding_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class BoundingBox(NDBoundingBox):
3333
3434
Attributes:
3535
topleft (Vec3Int): Top-left corner coordinates (inclusive)
36-
size (Vec3Int): Size of the bounding box in each dimension (width, height, depth)
36+
size (Vec3Int): Size of the bounding box in units of voxels for each dimension (width, height, depth)
3737
axes (tuple[str, str, str]): Names of the coordinate axes, defaults to ("x", "y", "z")
3838
index (Vec3Int): Index values for each dimension, defaults to (1, 2, 3)
3939
bottomright (Vec3Int): Bottom-right corner coordinates (exclusive), computed from topleft + size

0 commit comments

Comments
 (0)