[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[task #13658] Work on concave polygons too
From: |
Sachin Kumar Singh |
Subject: |
[task #13658] Work on concave polygons too |
Date: |
Tue, 17 Mar 2020 11:23:14 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0 |
Follow-up Comment #18, task #13658 (project gnuastro):
When I put
printf("[%.3f, %.3f]\n", ipolygon[i*2], ipolygon[i*2+1]);
inside the `POLYGON_MASK' macro in onecrop.c inside its `if' statement, after
the first 10 correct vertices(in shifted coordinates), it outputs a lot of
(0.000, 0.000) after the last correct point ((68.956700, 408.959500) in this
case).When I draw the polygon the bend is there due to this (0, 0) coordinate.
I think it's a garbage valve. If I try to prevent it using `if' statement, it
shows a segmentation fault. How to prevent it?
(file #48614)
_______________________________________________________
Additional Item Attachment:
File name: Figure_1.png Size:30 KB
<https://savannah.gnu.org/file/Figure_1.png?file_id=48614>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?13658>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [task #13658] Work on concave polygons too, (continued)
- [task #13658] Work on concave polygons too, Mohammad Akhlaghi, 2020/03/05
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/06
- Message not available
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/09
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/09
- Message not available
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/12
- [task #13658] Work on concave polygons too, Mohammad Akhlaghi, 2020/03/14
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/14
- Message not available
- [task #13658] Work on concave polygons too, Mohammad Akhlaghi, 2020/03/14
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/15
- Message not available
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/17
- Message not available
- [task #13658] Work on concave polygons too,
Sachin Kumar Singh <=
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/17
- Message not available
- Message not available
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/18
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/18
- Message not available
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/18
- Message not available
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/18
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/19
- [task #13658] Work on concave polygons too, Mohammad Akhlaghi, 2020/03/19
- [task #13658] Work on concave polygons too, Sachin Kumar Singh, 2020/03/21
- [task #13658] Work on concave polygons too, Mohammad Akhlaghi, 2020/03/21
- Message not available
- [task #13658] Work on concave polygons too, Mohammad Akhlaghi, 2020/03/28