Skip to content

Commit 5a1f25b

Browse files
committed
Add module documentation to geometry and labeling mods
1 parent 8d62100 commit 5a1f25b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

cellcast/src/geometry/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
//! Geometry structs and functions for 2D and 3D data.
12
pub mod polygon;

cellcast/src/labeling/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
//! Labeling functions for 2D and 3D data.
12
pub mod polygon_label;
23
pub use polygon_label::radial_polygon_to_label_2d;

cellcast/src/labeling/polygon_label.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! Polygon to label conversion functions.
2+
//!
3+
//! This module provides functions for converting radial polygon representation
4+
//! into 2D and 3D label images.
15
use std::f32::consts::TAU;
26

37
use ndarray::{Array2, Array3, ArrayView1, ArrayView2, Axis};

0 commit comments

Comments
 (0)