public class NACAFactory
extends java.lang.Object
Modified by: Joseph A. Huwaldt
Constructor and Description |
---|
NACAFactory() |
public static Airfoil create(java.lang.String designation, double chord) throws java.lang.IllegalArgumentException
designation
- The designation of the airfoil that is desired.chord
- The chord length for the airfoil.java.lang.IllegalArgumentException
- if the designation is for an airfoil
type that is unknown to this factory class.public static void main(java.lang.String[] args)