summaryrefslogtreecommitdiff
path: root/src/polyset.cc
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2012-02-14 01:54:33 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2012-02-14 01:54:33 (GMT)
commite747b0bfb52130eb01a02a29585e7688361d5fad (patch)
tree793f558df47b860f9275dff00b70522afcad9265 /src/polyset.cc
parent7cca215cbe11abbcf3ad792b0e5041291aef1566 (diff)
fix tab spacing. comment out debugging line.
Diffstat (limited to 'src/polyset.cc')
-rw-r--r--src/polyset.cc50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/polyset.cc b/src/polyset.cc
index b6df0c2..b412f5f 100644
--- a/src/polyset.cc
+++ b/src/polyset.cc
@@ -50,32 +50,32 @@ PolySet::~PolySet()
std::string PolySet::dump() const
{
- std::stringstream out;
- out << "PolySet:"
- << "\n dimensions:" << std::string( this->is2d ? "2" : "3" )
- << "\n convexity:" << this->convexity
- << "\n num polygons: " << polygons.size()
- << "\n num borders: " << borders.size()
- << "\n polygons data:";
- for (size_t i = 0; i < polygons.size(); i++) {
- out << "\n polygon begin:";
- const Polygon *poly = &polygons[i];
- for (size_t j = 0; j < poly->size(); j++) {
- Vector3d v = poly->at(j);
- out << "\n vertex:" << v.transpose();
- }
- }
+ std::stringstream out;
+ out << "PolySet:"
+ << "\n dimensions:" << std::string( this->is2d ? "2" : "3" )
+ << "\n convexity:" << this->convexity
+ << "\n num polygons: " << polygons.size()
+ << "\n num borders: " << borders.size()
+ << "\n polygons data:";
+ for (size_t i = 0; i < polygons.size(); i++) {
+ out << "\n polygon begin:";
+ const Polygon *poly = &polygons[i];
+ for (size_t j = 0; j < poly->size(); j++) {
+ Vector3d v = poly->at(j);
+ out << "\n vertex:" << v.transpose();
+ }
+ }
out << "\n borders data:";
- for (size_t i = 0; i < borders.size(); i++) {
- out << "\n border polygon begin:";
- const Polygon *poly = &borders[i];
- for (size_t j = 0; j < poly->size(); j++) {
- Vector3d v = poly->at(j);
- out << "\n vertex:" << v.transpose();
- }
- }
- out << "\nPolySet end";
- return out.str();
+ for (size_t i = 0; i < borders.size(); i++) {
+ out << "\n border polygon begin:";
+ const Polygon *poly = &borders[i];
+ for (size_t j = 0; j < poly->size(); j++) {
+ Vector3d v = poly->at(j);
+ out << "\n vertex:" << v.transpose();
+ }
+ }
+ out << "\nPolySet end";
+ return out.str();
}
void PolySet::append_poly()
contact: Jan Huwald // Impressum