Boost logo

Boost Users :

Subject: Re: [Boost-users] Polygon, accessing Points_Data
From: AmandaLind (abl128_at_[hidden])
Date: 2011-04-13 13:52:54


I ask the first part because

    Point pts2[numcorners2];
    for (int index=0; index<numcorners2; index++)
    {
       
pts2[index]=gtl::construct<Point>(rotated_corners2[index].x*1000,
rotated_corners2[index].y*1000);
        //mult by 1000 because it rounds to integers.
    }

is throwing an error since Point is not "Plain Old Data" and numcorners2,
though a const int, is a variable.

--
View this message in context: http://boost.2283326.n4.nabble.com/Polygon-accessing-Points-Data-tp3446015p3447852.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net