Refactoring to use ITraceable preferentially to IPrimitive
This commit is contained in:
parent
52df1380a7
commit
6e682494de
16 changed files with 145 additions and 128 deletions
|
|
@ -131,9 +131,9 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
}
|
||||
}
|
||||
|
||||
public static IPrimitive CreateTraceData(FaceList faceList, List<Vector3Float> vertexList, int maxRecursion = int.MaxValue)
|
||||
public static ITraceable CreateTraceData(FaceList faceList, List<Vector3Float> vertexList, int maxRecursion = int.MaxValue)
|
||||
{
|
||||
var allPolys = new List<IPrimitive>();
|
||||
var allPolys = new List<ITraceable>();
|
||||
|
||||
foreach (var face in faceList)
|
||||
{
|
||||
|
|
@ -468,7 +468,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
return supportColumnData;
|
||||
}
|
||||
|
||||
private IPrimitive GetTraceData(IEnumerable<IObject3D> supportCandidates)
|
||||
private ITraceable GetTraceData(IEnumerable<IObject3D> supportCandidates)
|
||||
{
|
||||
List<Vector3Float> supportVerts;
|
||||
FaceList supportFaces;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue