Ported Surface->p

This commit is contained in:
Alessandro Ranellucci 2013-08-26 23:03:00 +02:00
parent 494ed5c5ad
commit 85011dfef3
3 changed files with 13 additions and 2 deletions

View file

@ -67,6 +67,16 @@ Surface::extra_perimeters(...)
OUTPUT:
RETVAL
Polygons
Surface::polygons()
CODE:
RETVAL.push_back(THIS->expolygon.contour);
for (Polygons::iterator it = THIS->expolygon.holes.begin(); it != THIS->expolygon.holes.end(); ++it) {
RETVAL.push_back((*it));
}
OUTPUT:
RETVAL
%}
};