Displaying 1 result from an estimated 1 matches for "polygony".
Did you mean:
polygon
2012 Jan 27
1
.C returned array has odd results
...ssume that this is
something I'm doing wrong in R.
Here is the code for my .C call. I could post the C code if someone thinks
it's important, but I'm just changing the values of integer array specified
in R.
r.result <-
.C("evalPoly",
as.double(c.polygonX),
as.double(c.polygonY),
as.double(c.neighborX),
as.double(c.neighborY),
integer(c.numberOfNeighbors*c.height*c.length),
as.integer(c.polygonLength),
as.integer(c.neighborLength),
as.integer(c.numberOfNeighbors),
as.integer(c.length),
as.integer(c.height),
DUP=TRUE
)[[5]]
Cheers,
Jonathan
[[alternative HTML...