Skip to content

Commit

Permalink
Merge pull request #231 from FriendsOfCADability/GeneralCurve2D_Fix_C…
Browse files Browse the repository at this point in the history
…S3005

GeneralCurve2D fix CS3005
  • Loading branch information
dsn27 authored Jan 24, 2025
2 parents 3798cfe + 5d49131 commit 361548c
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions CADability/GeneralCurve2D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1433,13 +1433,6 @@ public virtual object ReferencedObject
}
#endregion

#if (DEBUG)
public void Debug(string Title)
{
System.Diagnostics.Trace.WriteLine(Title + ": (GeneralCurve2D) (" + (this as ICurve2D).StartPoint.ToString() + ") --> (" + (this as ICurve2D).EndPoint.ToString() + ")");
}
#endif

GeoPoint2D[] I2DIntersectable.IntersectWith(I2DIntersectable other)
{
if (other is ICurve2D curve2D)
Expand All @@ -1456,17 +1449,13 @@ GeoPoint2D[] I2DIntersectable.IntersectWith(I2DIntersectable other)
return other.IntersectWith(this);
}
#if DEBUG
public GeoObjectList debug
public void DebugWriteInfo(string title)
{
get
{
return new GeoObjectList(this.MakeGeoObject(Plane.XYPlane));
}
System.Diagnostics.Trace.WriteLine(title + ": (GeneralCurve2D) (" + (this as ICurve2D).StartPoint.ToString() + ") --> (" + (this as ICurve2D).EndPoint.ToString() + ")");
}
#endif

#region ICndHlp2DBuddy Members
#endregion
public GeoObjectList Debug => new GeoObjectList(this.MakeGeoObject(Plane.XYPlane));
#endif
}

/// <summary>
Expand Down

0 comments on commit 361548c

Please sign in to comment.