Add a convex hull algorithm #643
Annotations
10 warnings
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'GeometryOps.reproject' in src/api.md:59-61
```@autodocs
Modules = [GeometryOps]
```
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
failed to run `@example` block in src/source/methods/convex_hull.md:15-25
```@example simple
import GeometryOps as GO, GeoInterface as GI
using CairoMakie # to plot
points = randn(GO.Point2f, 100)
f, a, p = plot(points; label = "Points")
hull_poly = GO.convex_hull(points)
lines!(a, hull_poly; label = "Convex hull", color = Makie.wong_colors()[2])
axislegend(a)
f
```
exception =
type ConvexHull has no field indices
Stacktrace:
[1] getproperty
@ ./Base.jl:37 [inlined]
[2] convex_hull(::GeometryOps.MonotoneChainMethod, geometries::Vector{Point{2, Float32}})
@ GeometryOps ~/.julia/packages/GeometryOps/LHyFi/src/methods/convex_hull.jl:89
[3] convex_hull(geometries::Vector{Point{2, Float32}})
@ GeometryOps ~/.julia/packages/GeometryOps/LHyFi/src/methods/convex_hull.jl:69
[4] top-level scope
@ convex_hull.md:21
[5] eval
@ ./boot.jl:385 [inlined]
[6] #58
@ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined]
[7] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[8] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753
[9] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[10] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[11] with_logger
@ ./logging.jl:627 [inlined]
[12] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[13] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
failed to run `@example` block in src/source/methods/convex_hull.md:28-38
```@example usa
import GeometryOps as GO, GeoInterface as GI
using CairoMakie # to plot
using NaturalEarth # for data
all_adm0 = naturalearth("admin_0_countries", 110)
usa = all_adm0.geometry[findfirst(==("USA"), all_adm0.ADM0_A3)]
f, a, p = lines(usa)
lines!(a, GO.convex_hull(usa); color = Makie.wong_colors()[2])
f
```
exception =
type ConvexHull has no field indices
Stacktrace:
[1] getproperty
@ ./Base.jl:37 [inlined]
[2] convex_hull(::GeometryOps.MonotoneChainMethod, geometries::GeoJSON.MultiPolygon{2, Float32})
@ GeometryOps ~/.julia/packages/GeometryOps/LHyFi/src/methods/convex_hull.jl:89
[3] convex_hull(geometries::GeoJSON.MultiPolygon{2, Float32})
@ GeometryOps ~/.julia/packages/GeometryOps/LHyFi/src/methods/convex_hull.jl:69
[4] top-level scope
@ convex_hull.md:36
[5] eval
@ ./boot.jl:385 [inlined]
[6] #58
@ ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:754 [inlined]
[7] cd(f::Documenter.var"#58#60"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[8] (::Documenter.var"#57#59"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:753
[9] (::IOCapture.var"#5#9"{DataType, Documenter.var"#57#59"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[10] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[11] with_logger
@ ./logging.jl:627 [inlined]
[12] capture(f::Documenter.var"#57#59"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[13] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/qoyeC/src/expander_pipeline.jl:752
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'apply' in `@docs` block in src/source/primitives.md:41-48
```@docs
apply
applyreduce
GeometryOps.unwrap
GeometryOps.flatten
GeometryOps.reconstruct
GeometryOps.rebuild
```
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'applyreduce' in `@docs` block in src/source/primitives.md:41-48
```@docs
apply
applyreduce
GeometryOps.unwrap
GeometryOps.flatten
GeometryOps.reconstruct
GeometryOps.rebuild
```
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'GeometryOps.unwrap' in `@docs` block in src/source/primitives.md:41-48
```@docs
apply
applyreduce
GeometryOps.unwrap
GeometryOps.flatten
GeometryOps.reconstruct
GeometryOps.rebuild
```
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'TraitTarget' in `@docs` block in src/source/primitives.md:8-10
```@docs
TraitTarget
```
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'LinearSegments' in `@docs` block in src/source/transformations/segmentize.md:57-60
```@docs
LinearSegments
GeodesicSegments
```
|
../../../.julia/packages/Documenter/qoyeC/src/utilities/utilities.jl#L46
duplicate docs found for 'GeodesicSegments' in `@docs` block in src/source/transformations/segmentize.md:57-60
```@docs
LinearSegments
GeodesicSegments
```
|
../../../.julia/packages/DocumenterVitepress/tIz9X/src/writer.jl#L468
DocumenterVitepress: Unknown MIME type text/latex provided and no alternatives given. Ignoring render!
|
The logs for this run have expired and are no longer available.
Loading