|
@@ -97,9 +97,17 @@ class URMVesselMeasureCal extends Calculator<URMVesselMeasure, double> {
|
|
|
|
|
|
feature.updateFloatValue(output, cmlength, output.unit);
|
|
|
}
|
|
|
- List<Point<num>> points = [];
|
|
|
+ List<Point<num>> outerExterPoints = [];
|
|
|
+ // TODO 差一道坐标系转换
|
|
|
+ outresult.outerExterPoints?.forEach((element) {
|
|
|
+ // TODO C#
|
|
|
+ // UnitExtension.TryConvertUnit((float)outerExterPoints[i].Y, Unit.mm, Unit.um, out value);
|
|
|
+ // outerExterPoints[i].Y = value;
|
|
|
+ outerExterPoints.add(Point(element.x, element.y));
|
|
|
+ });
|
|
|
+ List<Point<num>> linePoints = [];
|
|
|
outresult.resultDPoints?.forEach((element) {
|
|
|
- points.add(Point(element.x, element.y));
|
|
|
+ linePoints.add(Point(element.x, element.y));
|
|
|
});
|
|
|
|
|
|
urmApplication.onUpdateChart?.call(
|
|
@@ -107,7 +115,8 @@ class URMVesselMeasureCal extends Calculator<URMVesselMeasure, double> {
|
|
|
cmlength: cmlength,
|
|
|
minPointIndex: vessMeasureResult.minPos,
|
|
|
maxPointIndex: vessMeasureResult.maxPos,
|
|
|
- points: points,
|
|
|
+ outerExterPoints: outerExterPoints,
|
|
|
+ line: linePoints,
|
|
|
),
|
|
|
);
|
|
|
}
|