清理代码

pull/80/head
ChenX 6 years ago
parent 47e63c9e02
commit 2ebad079a4

@ -318,9 +318,7 @@ export class Arc extends Curve
else if (equaln(sa, this.m_EndAngle))//this终点对起点
{
if (eaAllan < allAn || equaln(ea, this.m_StartAngle))
{
return Status.ConverToCircle;
}
else
this.EndAngle = ea;
@ -329,9 +327,7 @@ export class Arc extends Curve
else if (equaln(ea, this.StartAngle))//this起点对终点
{
if (saAllan < allAn)
{
return Status.ConverToCircle;
}
else
this.StartAngle = sa;
return Status.True;
@ -345,9 +341,7 @@ export class Arc extends Curve
else if (this.ParamOnCurve(this.GetParamAtAngle(sa)))
{
if (eaAllan < saAllan)
{
return Status.ConverToCircle;
}
else if (eaAllan > allAn)
this.EndAngle = ea;
return Status.True;

Loading…
Cancel
Save