-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
QuadraticPolygon *p2=buildPolygonFrom(CoordsS,tS);
double ret=p1->intersectWithAbs(*p2);
delete p1; delete p2;
- return ret;
+ return orientation*ret;
}
INTERSECTOR_TEMPLATE
QuadraticPolygon *p2=buildPolygonOfOneEdgeFrom(CoordsS,tS);
double ret=p1->intersectWithAbs1D(*p2, isColinear);
delete p1; delete p2;
- return ret;
+ return orientation*ret;
}
INTERSECTOR_TEMPLATE