From ede3b01bff803a42c1dde7efce8b7b87d85ea430 Mon Sep 17 00:00:00 2001 From: TruongQuangSB <131350493+TruongQuangSB@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:06:32 +0100 Subject: [PATCH] Update PointObjectPositionServiceImpl.java --- .../application/geometry/PointObjectPositionServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/bundles/org.eclipse.set.application/src/org/eclipse/set/application/geometry/PointObjectPositionServiceImpl.java b/java/bundles/org.eclipse.set.application/src/org/eclipse/set/application/geometry/PointObjectPositionServiceImpl.java index efc9af7f3..ecfed6d86 100644 --- a/java/bundles/org.eclipse.set.application/src/org/eclipse/set/application/geometry/PointObjectPositionServiceImpl.java +++ b/java/bundles/org.eclipse.set.application/src/org/eclipse/set/application/geometry/PointObjectPositionServiceImpl.java @@ -140,8 +140,7 @@ private static BigDecimal getLateralDistance( && singlePoint.getSeitlicherAbstand().getWert() != null) { return singlePoint.getSeitlicherAbstand().getWert(); } - final BigDecimal distance = singlePoint.getSeitlicherAbstand() - .getWert(); + final BigDecimal distance = singlePoint.getAbstand().getWert(); // Determine the track type final GEOKanteSegment segment = geoKante.getContainingSegment(distance); final List trackType = segment.getBereichObjekte()