Skip to content
Snippets Groups Projects
Commit 707b58a4 authored by Laurent Knoll's avatar Laurent Knoll
Browse files

Correction du signe des aires

parent 36efa3c0
No related branches found
No related tags found
No related merge requests found
......@@ -128,8 +128,8 @@ export class DataExporter {
let line = 1;
let label = labData.filename;
let area = path.area / areaScale;
let convexArea = convexHull.toRemovedPath().area / areaScale;
let area = Math.abs(path.area) / areaScale;
let convexArea = Math.abs(convexHull.toRemovedPath().area) / areaScale;
let perimeter = path.length / linearScale;
let major = fittingEllipse.getMajorAxis() / linearScale;
let minor = fittingEllipse.getMinorAxis() / linearScale;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment