Skip to content

Box - Ball intersection in 2D #1165

Open
@aj-fleming

Description

@aj-fleming

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions