| 1 |
|
| MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::BasicSegmentString |
| 2 |
|
| |
| 3 |
|
| PROTOTYPES: DISABLE |
| 4 |
|
| |
| 5 |
|
| BasicSegmentString* new(SV*, Array coords) { |
| 6 |
5 |
| auto seq = Helper::convert_coords(coords); |
| 7 |
5 |
▶ | auto deep_clone = seq.clone(); |
Branch: 2 branches
| Branch | True | False | Total |
| auto deep_clone = seq.clone(); |
5 |
0 |
5 |
| auto deep_clone = seq.clone(); |
5 |
0 |
5 |
|
| 8 |
5 |
▶ | RETVAL = new BasicSegmentString(deep_clone, NULL); |
Branch: 1 branch
| Branch | True | False | Total |
| RETVAL = new BasicSegmentString(deep_clone, NULL); |
5 |
0 |
5 |
|
| 9 |
5 |
▶ | } |
Branch: 2 branches
| Branch | True | False | Total |
| } |
5 |
0 |
5 |
| } |
5 |
0 |
5 |
|
| 10 |
|
| |
| 11 |
|
| void BasicSegmentString::DESTROY() { |
| 12 |
5 |
▶ | delete THIS->getCoordinates(); |
Branch: 2 branches
| Branch | True | False | Total |
| delete THIS->getCoordinates(); |
5 |
0 |
5 |
| delete THIS->getCoordinates(); |
5 |
0 |
5 |
|
| 13 |
5 |
▶ | } |
Branch: 1 branch
| Branch | True | False | Total |
| } |
5 |
0 |
5 |
|
| 14 |
|
| |
| 15 |
1 |
▶ | int BasicSegmentString::getSegmentOctant (unsigned int index) |
Branch: 1 branch
| Branch | True | False | Total |
| int BasicSegmentString::getSegmentOctant (unsigned int index) |
0 |
1 |
1 |
|
| 16 |
|
| |
| 17 |
0 |
▶ | int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } |
Branch: 1 branch
| Branch | True | False | Total |
| int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } |
0 |
0 |
0 |
|
| 18 |
|
| |
| 19 |
|
| BOOT { |
| 20 |
46 |
▶ | Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentString"); |
Branch: 2 branches
| Branch | True | False | Total |
| Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentString"); |
46 |
0 |
46 |
| Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentString"); |
46 |
0 |
46 |
|
| 21 |
|
| } |