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 public boolean allowsChildren() {
31 * Allow all InternalComponents to be added to this component.
34 public boolean isCompatible(Class<? extends RocketComponent> type) {
35 return InternalComponent.class.isAssignableFrom(type);
40 public double getInnerRadius(double x) {
41 return getInnerRadius();
46 public double getOuterRadius(double x) {
47 return getOuterRadius();