summaryrefslogtreecommitdiff
path: root/stsci/sphere/graph.py
Commit message (Collapse)AuthorAgeFilesLines
* union and intersection operations now work on crossing polygonsHEADmasterbsimon2016-07-031-47/+56
| | | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@39128 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 3bbe9a3ccef29562db908c51914882e59c73cdaa
* removed debugging prints (doh!)bsimon2015-04-091-10/+0
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@38913 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 4fedbb88318352e1bd5f380f278ed04308eaa5b6
* adding some backport changes I missed on the first time aroundbsimon2015-04-091-2/+20
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@38912 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 5f708691fc28a7c2846cf110e5fe656cfeda8ee3
* Back ported changes from astropy and made python 2 to 3 modificationsbsimon2015-04-031-136/+19
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@38800 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: c12c8fef5503caab2e2e57caac8f040597326589
* Fix ordering of nodes in the trace routine so that the area calculation of ↵mdroe2014-07-281-8/+30
| | | | | | | polygons with cutlines is correct. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@33584 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 04c6e2875f229294be3c8592ba73d09457c42984
* More speedups.mdroe2014-06-131-4/+10
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32541 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 36e70c1cac043d59089f386a6b6d730c4887fa84
* Handle empty polygons. Avoid unnecessary normalizations.mdroe2014-06-121-8/+8
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32439 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: b5f9a1f914d5cf8ceba1f70e0e02f55aba16ea97
* Use "long double" for intersection calculations. Move "length" and ↵mdroe2014-06-121-54/+75
| | | | | | | "intersects_point" to C. Vectorize the finding of "arc/point" intersections. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32437 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 03cb095a8a58aac8e7ab1e564066a7d1bdd71ec4
* Fixed misspelling of emporical in commentbsimon2014-06-111-1/+1
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32436 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 71add5c4f5e1a47236a623b7613321594781dc06
* Better track the nodes' source so we can do better internal/external edge ↵mdroe2014-06-101-39/+43
| | | | | | | 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
* Fix testsmdroe2014-06-041-51/+17
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32336 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 40fd6b9821b5bf6120173a87d83d322988c6f4d9
* Fix some numerical problems that prevented some very short arcs that were ↵mdroe2014-06-041-29/+70
| | | | | | | colocated with the edges of a polygon from being recognized as inside the polygon. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@32335 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: df6e3d7c90b358c56d4f84df17b19a742e405337
* mod for d2to1 installsienkiew2014-03-251-0/+909
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@30670 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 91667828b7e01b5aae55679093564473a976e8a9