105 std::copy (poly.begin(), poly.end() - 1,
106 std::ostream_iterator<Point3D>(os,
", "));
125 moved.push_back(at(0) +
Point3D(0.0, dist, 0.0));
139 lastAng = (at(1) - lastPos).getAngleAroundZ();
144 for (i = 1; i < size(); i++)
147 ang = (pt - lastPos).getAngleAroundZ();
149 double halfAngBetween = diffAng / 2.0;
153 double cosHalfAngBetween = std::abs(cos(halfAngBetween));
157 if ((cosHalfAngBetween) > 0.195)
159 edgeDist = dist / cosHalfAngBetween;
160 shiftVec =
Point3D(0.0, edgeDist, 0.0);
162 Point3D np = lastPos + shiftVec;
171 moved.push_back(lastPos + shiftVec);