line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = Geo::Geos PACKAGE = Geo::Geos::WKTWriter |
2
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
WKTWriter* new(SV*, SV* roundingPrecision = NULL, SV* trim = NULL) { |
5
|
4
|
|
|
|
|
|
RETVAL = new WKTWriter(); |
6
|
2
|
50
|
|
|
|
|
if (roundingPrecision) RETVAL->setRoundingPrecision(SvIV(roundingPrecision)); |
|
|
50
|
|
|
|
|
|
7
|
2
|
50
|
|
|
|
|
if (trim) RETVAL->setTrim(SvTRUE(trim)); |
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
8
|
2
|
50
|
|
|
|
|
} |
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
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
|
50
|
|
|
|
|
std::string WKTWriter::write(Geometry& g) { RETVAL = THIS->write(&g); } |
|
|
50
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
0
|
|
|
|
|
|
int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } |