Mercurial > hg > orthanc-stone
comparison OrthancStone/Resources/Computations/IntersectSegmentAndHorizontalLine.py @ 1598:8563ea5d8ae4
relicensing some files, cf. osimis bm26 and chu agreement on 2020-05-20
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 26 Oct 2020 20:49:28 +0100 |
parents | 8c5f9864545f |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1597:f9e3a9c21c0f | 1598:8563ea5d8ae4 |
---|---|
4 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | 4 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
5 # Department, University Hospital of Liege, Belgium | 5 # Department, University Hospital of Liege, Belgium |
6 # Copyright (C) 2017-2020 Osimis S.A., Belgium | 6 # Copyright (C) 2017-2020 Osimis S.A., Belgium |
7 # | 7 # |
8 # This program is free software: you can redistribute it and/or | 8 # This program is free software: you can redistribute it and/or |
9 # modify it under the terms of the GNU Affero General Public License | 9 # modify it under the terms of the GNU Lesser General Public License |
10 # as published by the Free Software Foundation, either version 3 of | 10 # as published by the Free Software Foundation, either version 3 of |
11 # the License, or (at your option) any later version. | 11 # the License, or (at your option) any later version. |
12 # | 12 # |
13 # This program is distributed in the hope that it will be useful, but | 13 # This program is distributed in the hope that it will be useful, but |
14 # WITHOUT ANY WARRANTY; without even the implied warranty of | 14 # WITHOUT ANY WARRANTY; without even the implied warranty of |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 # Affero General Public License for more details. | 16 # Lesser General Public License for more details. |
17 # | 17 # |
18 # You should have received a copy of the GNU Affero General Public License | 18 # You should have received a copy of the GNU Lesser General Public |
19 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 # License along with this program. If not, see |
20 # <http://www.gnu.org/licenses/>. | |
20 | 21 |
21 | 22 |
22 from sympy import * | 23 from sympy import * |
23 | 24 |
24 # Intersection between the 2D line segment (prevX,prevY)-(curX,curY) and the | 25 # Intersection between the 2D line segment (prevX,prevY)-(curX,curY) and the |