Manages group of primitives(face, line, points, ...)
| 745 | // |
| 746 | // Manages group of primitives(face, line, points, ...) |
| 747 | struct PrimGroup { |
| 748 | std::vector<face_t> faceGroup; |
| 749 | std::vector<__line_t> lineGroup; |
| 750 | std::vector<__points_t> pointsGroup; |
| 751 | |
| 752 | void clear() { |
| 753 | faceGroup.clear(); |
| 754 | lineGroup.clear(); |
| 755 | pointsGroup.clear(); |
| 756 | } |
| 757 | |
| 758 | bool IsEmpty() const { |
| 759 | return faceGroup.empty() && lineGroup.empty() && pointsGroup.empty(); |
| 760 | } |
| 761 | |
| 762 | // TODO(syoyo): bspline, surface, ... |
| 763 | }; |
| 764 | |
| 765 | // See |
| 766 | // http://stackoverflow.com/questions/6089231/getting-std-ifstream-to-handle-lf-cr-and-crlf |
nothing calls this directly
no outgoing calls
no test coverage detected