]> git.gag.com Git - debian/openrocket/blobdiff - src/net/sf/openrocket/rocketcomponent/FreeformFinSet.java
DGP - merged printing support from branch
[debian/openrocket] / src / net / sf / openrocket / rocketcomponent / FreeformFinSet.java
index f51f4650fabe7f818dc972bdf927b0e1b21e2727..ce6402151bc646972bd055b34235c9e63f4cc378 100644 (file)
@@ -1,13 +1,13 @@
 package net.sf.openrocket.rocketcomponent;
 
-import java.util.ArrayList;
-import java.util.Arrays;
-
 import net.sf.openrocket.logging.LogHelper;
 import net.sf.openrocket.startup.Application;
 import net.sf.openrocket.util.BugException;
 import net.sf.openrocket.util.Coordinate;
 
+import java.util.ArrayList;
+import java.util.Arrays;
+
 
 public class FreeformFinSet extends FinSet {
        private static final LogHelper log = Application.getLogger();
@@ -309,6 +309,15 @@ public class FreeformFinSet extends FinSet {
                return c;
        }
        
+    /**
+     * Accept a visitor to this FreeformFinSet in the component hierarchy.
+     * 
+     * @param theVisitor  the visitor that will be called back with a reference to this FreeformFinSet
+     */    
+    @Override
+    public void accept(ComponentVisitor theVisitor) {
+        theVisitor.visit(this);
+    }
        
        private void validate(ArrayList<Coordinate> points) throws IllegalFinPointException {
                final int n = points.size();