Trying to find out why placements don’t arrive at Triangulate()

This commit is contained in:
Ken Arroyo Ohori
2017-02-21 15:37:38 -06:00
parent e47d128b18
commit c0732f5197
4 changed files with 51 additions and 2 deletions
@@ -35,7 +35,8 @@ namespace IfcGeom {
virtual double Value(int i, int j) const {
// TODO: Check
return CGAL::to_double(trsf_.cartesian(i, j));
// std::cout << "Getting CgalPlacement with i = " << i << " and j = " << j << std::endl;
return CGAL::to_double(trsf_.cartesian(i-1, j-1));
}
virtual void Multiply(const ConversionResultPlacement* other) {
// TODO: Check
@@ -51,7 +52,7 @@ namespace IfcGeom {
private:
cgal_placement_t trsf_;
};
class CgalShape : public ConversionResultShape {
public:
CgalShape(const cgal_shape_t& shape)