Skip to content

Commit

Permalink
Removed ICurve interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
sonomirco committed Sep 11, 2021
1 parent 03918f8 commit 22b116d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 70 deletions.
3 changes: 1 addition & 2 deletions src/GShark/Geometry/NurbsBase.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#nullable enable
using GShark.Core;
using GShark.ExtendedMethods;
using GShark.Interfaces;
using GShark.Operation.Utilities;
using System;
using System.Collections.Generic;
Expand All @@ -14,7 +13,7 @@ namespace GShark.Geometry
/// <summary>
/// This class represents a base class that is common to most curve types.
/// </summary>
public abstract class NurbsBase : ICurve, IEquatable<NurbsBase>
public abstract class NurbsBase : IEquatable<NurbsBase>
{
protected NurbsBase()
{
Expand Down
2 changes: 1 addition & 1 deletion src/GShark/Geometry/PolyCurve.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ private void ToNurbsForm()
/// <summary>
/// Checks to define if the curve can be appended to the polycurve.
/// </summary>
private void HealthChecks(ICurve curve)
private void HealthChecks(NurbsBase curve)
{
if (_segments.Count <= 0) return;

Expand Down
67 changes: 0 additions & 67 deletions src/GShark/Interfaces/ICurve.cs

This file was deleted.

0 comments on commit 22b116d

Please sign in to comment.