1 package net.sf.openrocket.rocketcomponent;
4 public class TubeCoupler extends ThicknessRingComponent implements RadialParent {
7 setOuterRadiusAutomatic(true);
13 // Make setter visible
15 public void setOuterRadiusAutomatic(boolean auto) {
16 super.setOuterRadiusAutomatic(auto);
21 public String getComponentName() {
22 return "Tube coupler";
26 * Allow all InternalComponents to be added to this component.
29 public boolean isCompatible(Class<? extends RocketComponent> type) {
30 return InternalComponent.class.isAssignableFrom(type);
35 public double getInnerRadius(double x) {
36 return getInnerRadius();
41 public double getOuterRadius(double x) {
42 return getOuterRadius();