| 1706 | } |
| 1707 | |
| 1708 | struct PolygonAreaGreater |
| 1709 | { |
| 1710 | bool operator()(const Point3dVector& left, const Point3dVector& right) const { |
| 1711 | boost::optional<double> leftA = getArea(left); |
| 1712 | if (!leftA) { |
| 1713 | leftA = 0; |
| 1714 | } |
| 1715 | boost::optional<double> rightA = getArea(right); |
| 1716 | if (!rightA) { |
| 1717 | rightA = 0; |
| 1718 | } |
| 1719 | return (*leftA > *rightA); |
| 1720 | } |
| 1721 | }; |
| 1722 | |
| 1723 | std::vector<Surface> Surface_Impl::splitSurfaceForSubSurfaces() { |
| 1724 | std::vector<Surface> result; |
no outgoing calls
no test coverage detected