package org.simantics.district.network.ui; import java.awt.geom.Point2D; public class DistrictNetworkEdge { private final Point2D startPoint; private final Point2D endPoint; private final double[] geometry; public DistrictNetworkEdge(Point2D startPoint, Point2D endPoint, double[] geometry) { this.startPoint = startPoint; this.endPoint = endPoint; this.geometry = geometry; } public Point2D getStartPoint() { return startPoint; } public Point2D getEndPoint() { return endPoint; } public double[] getGeometry() { return geometry; } }