|
@@ -97,29 +97,28 @@ class URMVesselMeasureCal extends Calculator<URMVesselMeasure, double> {
|
|
|
|
|
|
feature.updateFloatValue(output, cmlength, output.unit);
|
|
|
}
|
|
|
- List<Point<double>> outerExterPoints = [];
|
|
|
-
|
|
|
- outresult.outerExterPoints?.forEach((element) {
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- outerExterPoints.add(Point(element.x, element.y));
|
|
|
- });
|
|
|
- List<Point<double>> linePoints = [];
|
|
|
- outresult.resultDPoints?.forEach((element) {
|
|
|
- linePoints.add(Point(element.x, element.y));
|
|
|
- });
|
|
|
-
|
|
|
- urmApplication.onUpdateChart?.call(
|
|
|
- URMChartParams(
|
|
|
- cmlength: cmlength,
|
|
|
- minPointIndex: vessMeasureResult.minPos,
|
|
|
- maxPointIndex: vessMeasureResult.maxPos,
|
|
|
- outerExterPoints: outerExterPoints,
|
|
|
- line: linePoints,
|
|
|
- ),
|
|
|
- );
|
|
|
}
|
|
|
+ List<Point<double>> outerExterPoints = [];
|
|
|
+
|
|
|
+ outresult.outerExterPoints?.forEach((element) {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ outerExterPoints.add(Point(element.x, element.y));
|
|
|
+ });
|
|
|
+ List<Point<double>> linePoints = [];
|
|
|
+ outresult.resultDPoints?.forEach((element) {
|
|
|
+ linePoints.add(Point(element.x, element.y));
|
|
|
+ });
|
|
|
+ urmApplication.onUpdateChart?.call(
|
|
|
+ URMChartParams(
|
|
|
+ cmlength: cmlength,
|
|
|
+ minPointIndex: vessMeasureResult.minPos,
|
|
|
+ maxPointIndex: vessMeasureResult.maxPos,
|
|
|
+ outerExterPoints: outerExterPoints,
|
|
|
+ line: linePoints,
|
|
|
+ ),
|
|
|
+ );
|
|
|
}
|
|
|
} catch (e) {
|
|
|
logger.e('URM Measure error: $e');
|