60 |
double y = xy[1]; |
double y = xy[1]; |
61 |
|
|
62 |
double s = filletWidth * getScale(depth); |
double s = filletWidth * getScale(depth); |
63 |
|
if (depth == maxDepth) s = 0; |
64 |
|
|
65 |
int cs = vs.orthoBoxCS(into, new Pair("MMNode", node), depth, |
int cs = vs.orthoBoxCS(into, new Pair("MMNode", node), depth, |
66 |
(float)(x - s/2f), (float)(y - s/2f), |
(float)(x - s/2f), (float)(y - s/2f), |
155 |
if (net.hasBeenLinked(centerNode, link)) continue; |
if (net.hasBeenLinked(centerNode, link)) continue; |
156 |
net.link(centerNode, link); |
net.link(centerNode, link); |
157 |
|
|
158 |
if (beginDepth < maxDepth) { |
if (net.getPlace(link) == null) { |
159 |
if (net.getPlace(link) == null) { |
MMPlace pl = getPlace(vs, into, x, y, link, |
160 |
MMPlace pl = getPlace(vs, into, x, y, link, |
startAngle+rotationAngle*i, |
161 |
startAngle+rotationAngle*i, |
beginDepth); |
162 |
beginDepth); |
net.put(link, pl, beginDepth); |
|
net.put(link, pl, beginDepth); |
|
|
} |
|
163 |
} |
} |
164 |
} |
} |
165 |
|
|