Skip to content

Boolean geometric operations #5

@kneitinger

Description

@kneitinger

Currently nightgraphics' Shaped triat has a difference operation. In addition to that it should have union and intersection.

Tasks

  • Add union operation to Shaped trait
  • Add intersection operation to Shaped trait (this very well might share a lot of code with difference)
  • Consider returning a Result as some operations do not make sense. For example, what does a the difference of 2 non-closed shapes imply? What about the union of a circle and a line?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions