Ported nearest_point() and nearest_point_index()

This commit is contained in:
Alessandro Ranellucci 2013-08-27 00:52:20 +02:00
parent f1e9216c70
commit b11b595c97
18 changed files with 79 additions and 69 deletions

View file

@ -32,6 +32,12 @@ MultiPoint::reverse()
std::reverse(this->points.begin(), this->points.end());
}
const Point*
MultiPoint::first_point() const
{
return &(this->points.front());
}
void
MultiPoint::from_SV(SV* poly_sv)
{