| 1 |
|
| MODULE = Geo::Geos PACKAGE = Geo::Geos::Precision::SimpleGeometryPrecisionReducer |
| 2 |
|
| PROTOTYPES: DISABLE |
| 3 |
|
| |
| 4 |
|
| Sv new(SV*, SV* arg) { |
| 5 |
1 |
▶ | PrecisionModel& pm = xs::in<PrecisionModel&>(arg); |
Branch: 1 branch
| Branch | True | False | Total |
| PrecisionModel& pm = xs::in<PrecisionModel&>(arg); |
1 |
0 |
1 |
|
| 6 |
1 |
▶ | auto self = new SimpleGeometryPrecisionReducer(&pm); |
Branch: 3 branches
| Branch | True | False | Total |
| auto self = new SimpleGeometryPrecisionReducer(&pm); |
1 |
0 |
1 |
| auto self = new SimpleGeometryPrecisionReducer(&pm); |
1 |
0 |
1 |
| auto self = new SimpleGeometryPrecisionReducer(&pm); |
0 |
0 |
0 |
|
| 7 |
1 |
▶ | Object wrapped = xs::out<SimpleGeometryPrecisionReducer*>(self); |
Branch: 2 branches
| Branch | True | False | Total |
| Object wrapped = xs::out<SimpleGeometryPrecisionReducer*>(self); |
1 |
0 |
1 |
| Object wrapped = xs::out<SimpleGeometryPrecisionReducer*>(self); |
1 |
0 |
1 |
|
| 8 |
1 |
▶ | wrapped.payload_attach(SvRV(arg), &payload_marker); |
Branch: 1 branch
| Branch | True | False | Total |
| wrapped.payload_attach(SvRV(arg), &payload_marker); |
1 |
0 |
1 |
|
| 9 |
1 |
▶ | RETVAL = wrapped.ref(); |
Branch: 2 branches
| Branch | True | False | Total |
| RETVAL = wrapped.ref(); |
1 |
0 |
1 |
| RETVAL = wrapped.ref(); |
1 |
0 |
1 |
|
| 10 |
|
| } |
| 11 |
|
| |
| 12 |
|
| Sv SimpleGeometryPrecisionReducer::getPrecisionModel() { |
| 13 |
|
| (void)THIS; |
| 14 |
1 |
▶ | Object me{ST(0)}; |
Branch: 1 branch
| Branch | True | False | Total |
| Object me{ST(0)}; |
1 |
0 |
1 |
|
| 15 |
1 |
| auto payload = me.payload(&payload_marker); |
| 16 |
1 |
▶ | Object obj { payload.obj }; |
Branch: 1 branch
| Branch | True | False | Total |
| Object obj { payload.obj }; |
1 |
0 |
1 |
|
| 17 |
1 |
▶ | RETVAL = obj.ref(); |
Branch: 2 branches
| Branch | True | False | Total |
| RETVAL = obj.ref(); |
1 |
0 |
1 |
| RETVAL = obj.ref(); |
1 |
0 |
1 |
|
| 18 |
|
| } |
| 19 |
|
| |
| 20 |
1 |
| void SimpleGeometryPrecisionReducer::setRemoveCollapsedComponents(bool nRemoveCollapsed) |
| 21 |
|
| |
| 22 |
1 |
▶ | bool SimpleGeometryPrecisionReducer::getRemoveCollapsed () |
Branch: 1 branch
| Branch | True | False | Total |
| bool SimpleGeometryPrecisionReducer::getRemoveCollapsed () |
1 |
0 |
1 |
|
| 23 |
|
| |
| 24 |
|
| Sv SimpleGeometryPrecisionReducer::reduce(Geometry& g) { |
| 25 |
1 |
▶ | RETVAL = Helper::uplift(THIS->reduce(&g)); |
Branch: 2 branches
| Branch | True | False | Total |
| RETVAL = Helper::uplift(THIS->reduce(&g)); |
1 |
0 |
1 |
| RETVAL = Helper::uplift(THIS->reduce(&g)); |
1 |
0 |
1 |
|
| 26 |
|
| } |
| 27 |
|
| |
| 28 |
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 |
|