Skip to content

Commit

Permalink
Remove baryclinic code in comments to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
skygering committed Jan 23, 2024
1 parent 03642cf commit bf21c03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/methods/barycentric.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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...
Expand Down

0 comments on commit bf21c03

Please sign in to comment.