Esempio n. 1
0
 private void push_active_path()
 {
     if (ActivePath != null && ActivePath.VertexCount > 0)
     {
         PathSet.Append(ActivePath);
     }
     ActivePath = null;
 }
Esempio n. 2
0
 public virtual void AppendPath(IToolpath p)
 {
     if (IsCommandToolpath(p))
     {
         Paths.Append(p);
     }
     else
     {
         if (!currentPos.EpsilonEqual(p.StartPosition, MathUtil.Epsilon))
         {
             throw new Exception("PathSetBuilder.AppendPath: disconnected path");
         }
         Paths.Append(p);
         currentPos = p.EndPosition;
     }
 }
Esempio n. 3
0
 public void AppendPaths(IToolpathSet paths)
 {
     AccumulatedPaths.Append(paths);
 }