From bf21c03edb6b4f58dfd292b4309dd5caa71b7478 Mon Sep 17 00:00:00 2001 From: Skylar Gering Date: Tue, 23 Jan 2024 09:57:12 -0800 Subject: [PATCH] Remove baryclinic code in comments to debug --- src/methods/barycentric.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/methods/barycentric.jl b/src/methods/barycentric.jl index 8a91a701c..1fba45e44 100644 --- a/src/methods/barycentric.jl +++ b/src/methods/barycentric.jl @@ -25,7 +25,7 @@ export MeanValue # ## Example # This example was taken from [this page of CGAL's documentation](https://doc.cgal.org/latest/Barycentric_coordinates_2/index.html). -# ```@example barycentric +# barycentric # using GeometryOps, Makie # using GeometryOps.GeometryBasics # # Define a polygon @@ -97,7 +97,7 @@ export MeanValue # xautolimits = false, yautolimits = false # ) # f -# ``` +# # ## Barycentric-coordinate API # In some cases, we actually want barycentric interpolation, and have no interest @@ -298,7 +298,7 @@ function barycentric_coordinates!(λs::Vector{<: Real}, ::MeanValue, polypoints: return λs end -# ```julia +# julia # function barycentric_coordinates(::MeanValue, polypoints::NTuple{N, Point{2, T2}}, point::Point{2, T1},) where {N, T1, T2} # ## Initialize counters and register variables # ## Points - these are actually vectors from point to vertices @@ -331,7 +331,7 @@ end # λs[i] / ∑λ # end # end -# ``` +# # This performs an inplace accumulation, using less memory and is faster. # That's particularly good if you are using a polygon with a large number of points...