JuliaGeometry/Meshes.jl

`Box` - `Ball` intersection in 2D

Open

#1,165 opened on 2025年1月22日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Julia (98 forks)auto 404
featurehelp wanted

Repository metrics

Stars
 (460 stars)
PR merge metrics
 (PR metrics pending)

説明

The documentation for intersection reads

Compute the intersection of two geometries or domains g₁ and g₂ and apply function f to it. Default function is identity.

One might then expect to be able to run

orb = Meshes.Ball((0., 0.), 1.0)
square = Meshes.box((0.0, 0.0), (1.0, 1.0))
intersection(measure, orb, square)

which results in a StackOverflowError.

Perhaps "intersection" is not intended for this purpose?

コントリビューターガイド