c.parentObstacle = ElementUtils.getElementBoundsOnDiagram(ti.e).getBounds2D();\r
}\r
} else if (ti != null && ti == startFlag) {\r
- c.parentObstacle = GeometryUtils.transformRectangle(AffineTransform.getTranslateInstance(c.x, c.y),\r
+ c.parentObstacle = org.simantics.scenegraph.utils.GeometryUtils.transformRectangle(AffineTransform.getTranslateInstance(c.x, c.y),\r
ElementUtils.getElementBoundsOnDiagram(ti.e).getBounds2D());\r
} else {\r
- c.parentObstacle = GeometryUtils.transformRectangle(AffineTransform.getTranslateInstance(c.x, c.y),\r
+ c.parentObstacle = org.simantics.scenegraph.utils.GeometryUtils.transformRectangle(AffineTransform.getTranslateInstance(c.x, c.y),\r
BranchPointClass.DEFAULT_IMAGE2.getBounds());\r
\r
}\r
// Need to expand shape in either width or height to make it visible.\r
final double exp = 0.1;\r
if (w <= 0.0)\r
- shape = GeometryUtils.expandRectangle(bounds, 0, 0, exp, exp);\r
+ shape = org.simantics.scenegraph.utils.GeometryUtils.expandRectangle(bounds, 0, 0, exp, exp);\r
else if (h <= 0.0)\r
- shape = GeometryUtils.expandRectangle(bounds, exp, exp, 0, 0);\r
+ shape = org.simantics.scenegraph.utils.GeometryUtils.expandRectangle(bounds, exp, exp, 0, 0);\r
}\r
\r
//System.out.println(" final shape: " + shape);\r