| 1 |
|
| MODULE = Geo::Geos PACKAGE = Geo::Geos::WKTWriter |
| 2 |
|
| PROTOTYPES: DISABLE |
| 3 |
|
| |
| 4 |
|
| WKTWriter* new(SV*, SV* roundingPrecision = NULL, SV* trim = NULL) { |
| 5 |
2 |
| RETVAL = new WKTWriter(); |
| 6 |
2 |
▶ | if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision)); |
Branch: 3 branches
| Branch | True | False | Total |
| if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision)); |
2 |
0 |
2 |
| if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision)); |
2 |
0 |
2 |
| if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision)); |
0 |
0 |
0 |
|
| 7 |
2 |
▶ | if (trim) RETVAL->setTrim(SvTRUE(trim)); |
Branch: 3 branches
| Branch | True | False | Total |
| if (trim) RETVAL->setTrim(SvTRUE(trim)); |
0 |
2 |
2 |
| if (trim) RETVAL->setTrim(SvTRUE(trim)); |
0 |
0 |
0 |
| if (trim) RETVAL->setTrim(SvTRUE(trim)); |
0 |
0 |
0 |
|
| 8 |
2 |
▶ | } |
Branch: 3 branches
| Branch | True | False | Total |
| } |
0 |
2 |
2 |
| } |
0 |
0 |
0 |
| } |
0 |
0 |
0 |
|
| 9 |
|
| |
| 10 |
0 |
| void WKTWriter::setTrim(bool value) |
| 11 |
|
| |
| 12 |
0 |
| void WKTWriter::setRoundingPrecision(int value) |
| 13 |
|
| |
| 14 |
2 |
▶ | std::string WKTWriter::write(Geometry& g) { RETVAL = THIS->write(&g); } |
Branch: 1 branch
| Branch | True | False | Total |
| std::string WKTWriter::write(Geometry& g) { RETVAL = THIS->write(&g); } |
2 |
0 |
2 |
|
| 15 |
|
| |
| 16 |
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 |
|