| 1 |
|
| MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::SegmentString |
| 2 |
|
| PROTOTYPES: DISABLE |
| 3 |
|
| |
| 4 |
2 |
▶ | unsigned int SegmentString::size () |
Branch: 1 branch
| Branch | True | False | Total |
| unsigned int SegmentString::size () |
0 |
2 |
2 |
|
| 5 |
|
| |
| 6 |
|
| Coordinate* SegmentString::getCoordinate (unsigned int i){ |
| 7 |
2 |
| RETVAL = new Coordinate(THIS->getCoordinate(i)); |
| 8 |
2 |
▶ | } |
Branch: 4 branches
| Branch | True | False | Total |
| } |
2 |
0 |
2 |
| } |
2 |
0 |
2 |
| } |
2 |
0 |
2 |
| } |
0 |
0 |
0 |
|
| 9 |
|
| |
| 10 |
|
| Array SegmentString::getCoordinates () { |
| 11 |
3 |
▶ | auto seq = THIS->getCoordinates(); |
Branch: 1 branch
| Branch | True | False | Total |
| auto seq = THIS->getCoordinates(); |
3 |
0 |
3 |
|
| 12 |
3 |
▶ | RETVAL = Helper::convert_copy(seq); |
Branch: 1 branch
| Branch | True | False | Total |
| RETVAL = Helper::convert_copy(seq); |
3 |
0 |
3 |
|
| 13 |
|
| } |
| 14 |
|
| |
| 15 |
2 |
▶ | bool SegmentString::isClosed() |
Branch: 1 branch
| Branch | True | False | Total |
| bool SegmentString::isClosed() |
0 |
2 |
2 |
|
| 16 |
|
| |
| 17 |
|
| std::string SegmentString::toString(...) { |
| 18 |
12 |
▶ | std::ostringstream out; |
Branch: 1 branch
| Branch | True | False | Total |
| std::ostringstream out; |
12 |
0 |
12 |
|
| 19 |
12 |
▶ | out << *THIS; |
Branch: 1 branch
| Branch | True | False | Total |
| out << *THIS; |
12 |
0 |
12 |
|
| 20 |
12 |
▶ | RETVAL = out.str(); |
Branch: 1 branch
| Branch | True | False | Total |
| RETVAL = out.str(); |
12 |
0 |
12 |
|
| 21 |
|
| } |
| 22 |
|
| |