summaryrefslogtreecommitdiff
path: root/stsci/sphere/great_circle_arc.py
diff options
context:
space:
mode:
authormdroe <mdroe@stsci.edu>2014-06-10 15:49:34 -0400
committermdroe <mdroe@stsci.edu>2014-06-10 15:49:34 -0400
commit2d057cb32321f6d4ac76c57968bc4cfe58b661c6 (patch)
tree6b85cf84692874202375ac556620ba37cf96468a /stsci/sphere/great_circle_arc.py
parent6ae25bb6cfc14a9b4f71db4c4ea7552194c2528e (diff)
downloadstsci.sphere-2d057cb32321f6d4ac76c57968bc4cfe58b661c6.tar.gz
Better track the nodes' source so we can do better internal/external edge removal.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32435 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: a97410e5abab2ffefba2f393909abf76af76cf75
Diffstat (limited to 'stsci/sphere/great_circle_arc.py')
-rw-r--r--stsci/sphere/great_circle_arc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/stsci/sphere/great_circle_arc.py b/stsci/sphere/great_circle_arc.py
index 0d60389..c9ddbdf 100644
--- a/stsci/sphere/great_circle_arc.py
+++ b/stsci/sphere/great_circle_arc.py
@@ -285,7 +285,7 @@ def intersects_point(A, B, C):
length_diff = np.abs((left_length + right_length) - total_length)
- return np.any(length_diff < 1e-8)
+ return np.any(length_diff < 1e-10)
def angle(A, B, C, degrees=True):