Skip to content

Box intersection that cannot be represented? #90

@clarisma

Description

@clarisma

Since Box can represent a bounding box that straddles the Antimeridian, there may be a situation where such a Box is intersected with a regular bbox. Conceptually, such an intersection might result in two bboxes (the eastern and western parts). What happens at this point, since the resulting Box cannot represent more than one single bounding box?

  • an empty Box is returned; or
  • an exception is thrown (which one? A custom type?)

Related to #40 and #86

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarifySpec is unclear about behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions