|
|
@ -155,6 +155,14 @@ export class GetRectPointServices
|
|
|
|
res.Point1WCS = basePoint;
|
|
|
|
res.Point1WCS = basePoint;
|
|
|
|
res.Point2WCS = ptRes.Point;
|
|
|
|
res.Point2WCS = ptRes.Point;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.dynPrompt.xDynIpt.IsLock)
|
|
|
|
|
|
|
|
res.Point2UCS.x = basePointUCS.x + this.dynPrompt.Width * signX;
|
|
|
|
|
|
|
|
if (this.dynPrompt.yDynIpt.IsLock)
|
|
|
|
|
|
|
|
res.Point2UCS.y = basePointUCS.y + this.dynPrompt.Height * signY;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.dynPrompt.xDynIpt.IsLock || this.dynPrompt.yDynIpt.IsLock)
|
|
|
|
|
|
|
|
res.Point2WCS.copy(res.Point2UCS).applyMatrix4(this._UCSMatrix);
|
|
|
|
|
|
|
|
|
|
|
|
this.ReturnResult(res);
|
|
|
|
this.ReturnResult(res);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (ptRes.Status === PromptStatus.Cancel)
|
|
|
|
else if (ptRes.Status === PromptStatus.Cancel)
|
|
|
|