]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.district.network.ui/src/org/simantics/district/network/ui/adapters/DistrictNetworkVertex.java
More sensible caching for connection lines.
[simantics/district.git] / org.simantics.district.network.ui / src / org / simantics / district / network / ui / adapters / DistrictNetworkVertex.java
1 package org.simantics.district.network.ui.adapters;\r
2 \r
3 import java.awt.geom.Point2D;\r
4 \r
5 public class DistrictNetworkVertex {\r
6 \r
7     private Point2D point;\r
8     \r
9     public DistrictNetworkVertex(double[] coords) {\r
10         this.point = new Point2D.Double(coords[0], coords[1]);\r
11     }\r
12     \r
13     public Point2D getPoint() {\r
14         return point;\r
15     }\r
16 \r
17 }\r