| 17 | using namespace LNLib; |
| 18 | |
| 19 | std::vector<XYZ> LNLib::ControlPointsUtils::ToXYZ(const std::vector<XYZW>& weightedControlPoints) |
| 20 | { |
| 21 | std::vector<XYZ> result; |
| 22 | for (int i = 0; i < weightedControlPoints.size(); i++) |
| 23 | { |
| 24 | result.emplace_back(const_cast<XYZW&>(weightedControlPoints[i]).ToXYZ(true)); |
| 25 | } |
| 26 | return result; |
| 27 | } |
| 28 | |
| 29 | std::vector<std::vector<XYZ>> LNLib::ControlPointsUtils::ToXYZ(const std::vector<std::vector<XYZW>>& points) |
| 30 | { |
no outgoing calls
no test coverage detected