private void push_active_path() { if (ActivePath != null && ActivePath.VertexCount > 0) { PathSet.Append(ActivePath); } ActivePath = null; }
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; } }
public void AppendPaths(IToolpathSet paths) { AccumulatedPaths.Append(paths); }