/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/CPP/geos.x/i/geos/algorithm/CentralEndpointIntersector.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
79 | 1 | 0 | _pts(4) |
1 | 0 | _pts(4) | |
85 | 1 | 0 | compute(); |
104 | 1 | 0 | geom::Coordinate centroid = average(_pts); |
105 | 1 | 0 | _intPt = findNearestPoint(centroid, _pts); |
113 | 0 | 1 | if ( ! n ) return avg; |
114 | 4 | 1 | for (std::size_t i=0; i |
139 | 4 | 1 | for (std::size_t i = 0, n=pts.size(); i < n; ++i) { |
141 | 1 | 3 | if (dist < minDist) { |