优化:支持直线墙被打断后的L型飘窗绘制

pull/2141/head
ChenX 2 years ago
parent e1344af72b
commit af75485416

@ -285,6 +285,7 @@ export class TemplateWindowRecord extends TemplateRecord
let pre = wpCurves[i - 1];
let now = wpCurves[i];
let iPt = pre.IntersectWith(now, IntersectOption.ExtendBoth)[0];
if (!iPt) continue;//直线墙打断后支持L飘窗绘制
pre.EndPoint = iPt;
now.StartPoint = iPt;
}

Loading…
Cancel
Save