• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mfogel / polygon-clipping / 107 / 2
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 16 Mar 2018 02:22AM UTC
Files 12
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Mar 2018 02:19AM UTC coverage: 99.211% (-0.2%) from 99.403%
107.2

push

travis-ci

mfogel
Bug fix: comparison of almost-colinear segments

Because of rounding errors, two segments can be in a situation where the
two endpoints of the first segment appear colinear to the 2nd, but the 2nd's
endpoints do *not* appear colinear to the first.

Previously, the sweep line tree would choke on this because the
compare() method would return the same result for compare(seg1, seg2)
and compare(seg2, seg1).

This fixes that situation by doing a more complete segment comparison to
check for colinearity.

355 of 361 branches covered (98.34%)

Branch coverage included in aggregate %.

651 of 653 relevant lines covered (99.69%)

3850.3 hits per line

Source Files on job 107.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 107.2
  • cbf4ceeb on github
  • Prev Job for on master (#106.1)
  • Next Job for on master (#108.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc