diff --git a/src/band.rs b/src/band.rs index b41249b..399d2dd 100644 --- a/src/band.rs +++ b/src/band.rs @@ -1,7 +1,7 @@ use crate::Float; use geo_types::MultiPolygon; -/// An isoband has the geometry and min / max values of a contour ring, built by [`ContourBuilder`]. +/// An isoband has the geometry and min / max values of a contour ring, built by [ContourBuilder](`crate::contourbuilder::ContourBuilder`). #[derive(Debug, Clone)] pub struct Band { pub(crate) geometry: MultiPolygon, diff --git a/src/contour.rs b/src/contour.rs index 37ed75e..5fb52e4 100644 --- a/src/contour.rs +++ b/src/contour.rs @@ -1,7 +1,7 @@ use crate::Float; use geo_types::MultiPolygon; -/// A contour has the geometry and threshold of a contour ring, built by [`ContourBuilder`]. +/// A contour has the geometry and threshold of a contour ring, built by [ContourBuilder](`crate::contourbuilder::ContourBuilder`). #[derive(Debug, Clone)] pub struct Contour { pub(crate) geometry: MultiPolygon, diff --git a/src/lib.rs b/src/lib.rs index 9d56154..f402131 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,7 +3,7 @@ //! [marching squares](https://en.wikipedia.org/wiki/Marching_squares) //! to a rectangular array of numeric values. //! -//! Use the [`ContourBuilder`]) to compute for a given set of values and thresholds: +//! Use the [`ContourBuilder`] to compute for a given set of values and thresholds: //! - isolines, as a Vec of [`Line`], //! - contour polygons, as a Vec of [`Contour`], //! - isobands, as a Vec of [`Band`]. diff --git a/src/line.rs b/src/line.rs index 967534c..9a917db 100644 --- a/src/line.rs +++ b/src/line.rs @@ -1,7 +1,7 @@ use crate::Float; use geo_types::MultiLineString; -/// A line has the geometry and threshold of a contour ring, built by [`ContourBuilder`]. +/// A line has the geometry and threshold of a contour ring, built by [ContourBuilder](`crate::contourbuilder::ContourBuilder`). #[derive(Debug, Clone)] pub struct Line { pub(crate) geometry: MultiLineString,