summaryrefslogtreecommitdiff
path: root/lib/test/test_intersection.py
Commit message (Collapse)AuthorAgeFilesLines
* mod for d2to1 installsienkiew2014-03-251-189/+0
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci.sphere/trunk@30670 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 91667828b7e01b5aae55679093564473a976e8a9
* Make area calculation more accurate by not counting the first point twice ↵mdroe2012-06-071-1/+1
| | | | | | | when doing centroid calculation git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17220 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 1da94015b873da448961df3bc950a6b1a5cd51ae
* Avoid adding duplicated nodes and edges when building the graph. These can ↵mdroe2012-06-071-1/+14
| | | | | | | look like cut lines and get removed in weird ways, so it is better to just not create duplicates in the first place. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17219 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 51d0e8176c7eecdea00e478ef7efaa77c08aab70
* Some tweaks to the area calculation.mdroe2012-06-051-4/+10
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17202 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 07101e1f3d5f37ea231b64b33283b8864ac1a0fc
* Python 3.x fixesmdroe2012-06-041-3/+3
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17201 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 645db247912b7d5985ab878bd3c7fb5e9574f05d
* Use an entirely different method for area computation. It first transforms ↵mdroe2012-06-041-1/+1
| | | | | | | | | | | | | | | | | | to a 2D plane by interpolating the great circle arcs through a Lambert azimuthal equal area projection. Then a standard 2D polygon area method is used. Make sure the polygons always go clockwise to aid in area computation. Fix union calculation -- it should be removing interior edges, not interior nodes. Fix some numerical out-of-range problems in great_circle_arc.py Remove the serial method for multi_union -- it no longer generates polygons that are compatible with calculating the area. Make debugging images more explanatory by putting a meaningful title at the top. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17200 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: fb841a481025150f631be6d64cf995dda592ecbc
* lim fixed tests that failed because of image de-compression on SVNlim2012-05-211-2/+5
| | | | | git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@16923 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: 4bf54e5d84f6f6984ce3ad70ed05b1e048de6f02
* lim added files to sphere branchlim2012-03-291-0/+167
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@15878 fe389314-cf27-0410-b35b-8c050e845b92 Former-commit-id: b51412b5b545598ae101152eeaed470b08616176