ladybug-tools / ladybug-geometry

🐞 📦 A library with geometry objects used throughout the Ladybug Tools core libraries
https://www.ladybug.tools/ladybug-geometry/docs/
GNU Affero General Public License v3.0
23 stars 22 forks source link

Catch self-intersection when last vertex equals the first #312

Closed chriswmackey closed 3 years ago

chriswmackey commented 3 years ago

When the last and first vertices are the same, this should count as self-intersecting. This is not currently the case:

2021-07-29-17-38-40

Sample file here: https://storage.3.basecamp.com/4298486/blobs/2fea367a-f0b6-11eb-9bcf-a0369f740da4/download/Self_intersecting.gh?attachment=true

chriswmackey commented 3 years ago

This one has been resolved