line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::IntersectionAdder |
2
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
Sv new(SV*,SV* liObj) { |
5
|
2
|
50
|
|
|
|
|
LineIntersector& li = xs::in(liObj); |
6
|
4
|
50
|
|
|
|
|
Object wrapped = xs::out<>(new IntersectionAdder(li)); |
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
7
|
2
|
50
|
|
|
|
|
wrapped.payload_attach(SvRV(liObj), &payload_marker); |
8
|
2
|
50
|
|
|
|
|
RETVAL = wrapped.ref(); |
|
|
50
|
|
|
|
|
|
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Sv IntersectionAdder::getLineIntersector() { |
12
|
2
|
50
|
|
|
|
|
Object me{ST(0)}; |
|
|
50
|
|
|
|
|
|
13
|
1
|
|
|
|
|
|
auto payload = me.payload(&payload_marker); |
14
|
2
|
50
|
|
|
|
|
Object li{payload.obj}; |
|
|
50
|
|
|
|
|
|
15
|
1
|
50
|
|
|
|
|
RETVAL = li.ref(); |
|
|
50
|
|
|
|
|
|
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
|
|
|
bool IntersectionAdder::hasIntersection () |
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
|
|
|
bool IntersectionAdder::hasProperIntersection () |
21
|
|
|
|
|
|
|
|
22
|
1
|
|
|
|
|
|
bool IntersectionAdder::hasProperInteriorIntersection () |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
|
|
|
bool IntersectionAdder::hasInteriorIntersection () |
25
|
|
|
|
|
|
|
|
26
|
0
|
|
|
|
|
|
int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
BOOT { |
29
|
46
|
50
|
|
|
|
|
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SegmentIntersector"); |
|
|
50
|
|
|
|
|
|
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
|