Ticket #185 (closed defect: fixed)
Possible bug
| Reported by: | mloskot | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 3.1.0 |
| Component: | Core | Version: | svn-trunk |
| Severity: | Content | Keywords: | |
| Cc: | denise.macleod@…, warmerdam |
Description
I'm not sure but it looks like a bug. The first formal parameter of Octant::octant static method is unused, instead second parameter is passed twice:
Here is code at Octant.h:63
/**
* Returns the octant of a directed line segment from p0 to p1.
*/
static int octant(const geom::Coordinate* p0, const geom::Coordinate* p1)
{
return octant(*p1, *p1);
}
Even if it is not a bug, I believe it's nothing wrong to double-check.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

