| 1 |
|
| MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::SinglePassNoder |
| 2 |
|
| PROTOTYPES: DISABLE |
| 3 |
|
| |
| 4 |
|
| void SinglePassNoder::setSegmentIntersector(SV *newSegInt = NULL) { |
| 5 |
0 |
▶ | Object self{ST(0)}; |
Branch: 1 branch
| Branch | True | False | Total |
| Object self{ST(0)}; |
0 |
0 |
0 |
|
| 6 |
|
| |
| 7 |
0 |
▶ | SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; |
Branch: 2 branches
| Branch | True | False | Total |
| SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; |
0 |
0 |
0 |
| SegmentIntersector* si = newSegInt ? xs::in<SegmentIntersector*>(newSegInt) : NULL; |
0 |
0 |
0 |
|
| 8 |
0 |
▶ | if (si) { |
Branch: 1 branch
| Branch | True | False | Total |
| if (si) { |
0 |
0 |
0 |
|
| 9 |
0 |
▶ | self.payload_attach(SvRV(newSegInt), &payload_marker); |
Branch: 1 branch
| Branch | True | False | Total |
| self.payload_attach(SvRV(newSegInt), &payload_marker); |
0 |
0 |
0 |
|
| 10 |
|
| } |
| 11 |
0 |
▶ | else if (self.payload_exists(&payload_marker)) { |
Branch: 1 branch
| Branch | True | False | Total |
| else if (self.payload_exists(&payload_marker)) { |
0 |
0 |
0 |
|
| 12 |
0 |
▶ | self.payload_detach(&payload_marker); |
Branch: 1 branch
| Branch | True | False | Total |
| self.payload_detach(&payload_marker); |
0 |
0 |
0 |
|
| 13 |
|
| } |
| 14 |
|
| |
| 15 |
0 |
▶ | THIS->setSegmentIntersector(si); |
Branch: 1 branch
| Branch | True | False | Total |
| THIS->setSegmentIntersector(si); |
0 |
0 |
0 |
|
| 16 |
|
| } |
| 17 |
|
| |
| 18 |
|
| |
| 19 |
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 |
|
| 20 |
|
| |
| 21 |
|
| BOOT { |
| 22 |
46 |
▶ | Stash(__PACKAGE__).inherit("Geo::Geos::Noding::Noder"); |
Branch: 2 branches
| Branch | True | False | Total |
| Stash(__PACKAGE__).inherit("Geo::Geos::Noding::Noder"); |
46 |
0 |
46 |
| Stash(__PACKAGE__).inherit("Geo::Geos::Noding::Noder"); |
46 |
0 |
46 |
|
| 23 |
|
| } |