JuliaGeometry / JuliaGeometry/GeometryBasics.jl

Polygon: closed and right hand rule?

Open
#9 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
215
Forks
64
Avg merge
3d 18h
Merged PRs (30d)
2

Description

The Polygon type currently holds an exterior ring and one or more interior rings, but otherwise doesn't enforce much.

Currently it is not enforced that the first and last positions should be equal, or the right hand rule as in https://tools.ietf.org/html/rfc7946#section-3.1.6

Should we enforce these in this package? Or is it better to deal with those in packages such as GeoJSON.jl do you think?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Polygon type and its handling of the exterior and interior rings, then compare the RFC 7946 right-hand rule with how packages such as GeoJSON.jl handle validation. Determine whether ring closure and winding-order checks belong in this package or elsewhere; done means the validation scope and ownership are explicitly decided.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.