diff --git a/docs/src/algorithms/clamping.md b/docs/src/algorithms/clamping.md index 97f52e53e..c3c5c51d4 100644 --- a/docs/src/algorithms/clamping.md +++ b/docs/src/algorithms/clamping.md @@ -3,8 +3,8 @@ Meshes adds methods to Julia's built-in `clamp` function. The additional methods clamp points to the edges of a box in any number of dimensions. The target points and boxes must have the same number of dimensions and the same numeric type. ```@docs -clamp(point::Point{Dim,T}, box::Box{Dim,T}) where {Dim,T} -clamp(points::PointSet{Dim,T}, box::Box{Dim,T}) where {Dim,T} +clamp(::Point, ::Box) +clamp(::PointSet, ::Box) ``` ```@example clamping @@ -28,4 +28,4 @@ ax = Mke.Axis(fig[1,2], title="clamped", aspect=1, limits=(0,1,0,1)) viz!(ax, box) viz!(ax, clamped, color=:black, pointsize=6) fig -``` \ No newline at end of file +```