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
Branches
No related tags found
No related merge requests found
...@@ -128,8 +128,8 @@ export class DataExporter { ...@@ -128,8 +128,8 @@ export class DataExporter {
let line = 1; let line = 1;
let label = labData.filename; let label = labData.filename;
let area = path.area / areaScale; let area = Math.abs(path.area) / areaScale;
let convexArea = convexHull.toRemovedPath().area / areaScale; let convexArea = Math.abs(convexHull.toRemovedPath().area) / areaScale;
let perimeter = path.length / linearScale; let perimeter = path.length / linearScale;
let major = fittingEllipse.getMajorAxis() / linearScale; let major = fittingEllipse.getMajorAxis() / linearScale;
let minor = fittingEllipse.getMinorAxis() / linearScale; let minor = fittingEllipse.getMinorAxis() / linearScale;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment