<div dir="ltr">Hi Robi, <div><br></div><div>On Thu, Feb 20, 2014 at 11:31 AM, Robi Ragan <span dir="ltr"><<a href="mailto:robi.ragan@sjsu.edu" target="_blank">robi.ragan@sjsu.edu</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
I am trying to write custom as<>() and wrap() converters for the most<br>
common input and output geometry types used in that library.<br>
<br>
An example of the use would be:<br>
<br>
To use boost::geometry::convex_hull() to take in an n x 2 R matrix find the<br>
convex hull and return an m x 2 R matrix.<br></blockquote><div><br></div><div>It looks like you asked a similar question on Stack Overflow about a year ago. </div><div><a href="http://stackoverflow.com/questions/15195350/converting-rcpp-numericmatrix-for-use-with-boost-geometry">http://stackoverflow.com/questions/15195350/converting-rcpp-numericmatrix-for-use-with-boost-geometry</a> </div>
<div><br></div><div>I posted an answer there because it seemed a little messy to post a code chunk to the mailing list. <a href="http://stackoverflow.com/a/21960694/342362">http://stackoverflow.com/a/21960694/342362</a> </div>
<div><br></div><div>HTH</div><div><br></div><div>Regards</div><div>Sameer</div></div></div></div>