Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1679)

Issue 13515044: Prevent type-error on services in a line

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by matthew.scott
Modified:
10 years, 7 months ago
Reviewers:
mp+184124, jeff.pihach
Visibility:
Public.

Description

Prevent type-error on services in a line Services in a line cannot be passed to the hull() method if they are in a line (you can't transverse in a counterclockwise manner over a linear set of points), so safeHull just returns the vertices if that's the case. https://code.launchpad.net/~makyo/juju-gui/service-line/+merge/184124 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Prevent type-error on services in a line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -7 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/topology/utils.js View 3 chunks +20 lines, -7 lines 0 comments Download
M test/test_topology_utils.js View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3
matthew.scott
Please take a look.
10 years, 7 months ago (2013-09-05 15:01:57 UTC) #1
jeff.pihach
LGTM
10 years, 7 months ago (2013-09-05 15:06:33 UTC) #2
matthew.scott
10 years, 7 months ago (2013-09-05 15:11:28 UTC) #3
*** Submitted:

Prevent type-error on services in a line

Services in a line cannot be passed to the hull() method if they are in a line
(you can't transverse in a counterclockwise manner over a linear set of points),
so safeHull just returns the vertices if that's the case.

R=jeff.pihach
CC=
https://codereview.appspot.com/13515044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b