Skip to content

Commit 4f1a5d8

Browse files
committed
Update docs
1 parent 1898086 commit 4f1a5d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/algorithms/clamping.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
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.
44

55
```@docs
6-
clamp(point::Point{Dim,T}, box::Box{Dim,T}) where {Dim,T}
7-
clamp(points::PointSet{Dim,T}, box::Box{Dim,T}) where {Dim,T}
6+
clamp(::Point, ::Box)
7+
clamp(::PointSet, ::Box)
88
```
99

1010
```@example clamping
@@ -28,4 +28,4 @@ ax = Mke.Axis(fig[1,2], title="clamped", aspect=1, limits=(0,1,0,1))
2828
viz!(ax, box)
2929
viz!(ax, clamped, color=:black, pointsize=6)
3030
fig
31-
```
31+
```

0 commit comments

Comments
 (0)