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

mfogel / polygon-clipping / 110
98%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2018 06:23PM UTC
Jobs 2
Files 12
Run time 52s
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

pending completion
110

push

travis-ci

mfogel
Fix for vertical segments & rounding errors

Because of rounding errors sometimes when an intersection point between
two line segments is calculated it is not exactly on either line.
When this happens with a vertical segment, if the intersection point is
actually to the left of the left endpoint, then the new endpoint should
be the left instead of the right.

To avoid this, this commit implements a constraint that the calculated
intersection point between two line segments is forced to be within
their bounding box overlap - thus keeping vertical segments vertical,
and horizontal segments horizontal.

366 of 374 branches covered (97.86%)

Branch coverage included in aggregate %.

668 of 670 relevant lines covered (99.7%)

7727.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 110.1 20 Mar 2018 06:23PM UTC 0
99.04
Travis Job 110.1
2 110.2 20 Mar 2018 06:24PM UTC 0
99.04
Travis Job 110.2
Source Files on build 110
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #110
  • 89da6339 on github
  • Prev Build on master (#109)
  • Next Build on master (#111)
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