001/* 002* Airfoil -- The interface in common to all airfoil type objects. 003* 004* Copyright (C) 2000-2010 by Joseph A. Huwaldt 005* All rights reserved. 006* 007* This library is free software; you can redistribute it and/or 008* modify it under the terms of the GNU Lesser General Public 009* License as published by the Free Software Foundation; either 010* version 2.1 of the License, or (at your option) any later version. 011* 012* This library is distributed in the hope that it will be useful, 013* but WITHOUT ANY WARRANTY; without even the implied warranty of 014* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015* Lesser General Public License for more details. 016* 017* You should have received a copy of the GNU Lesser General Public License 018* along with this program; if not, write to the Free Software 019* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 020* Or visit: http://www.gnu.org/licenses/lgpl.html 021**/ 022package jahuwaldt.aero.airfoils; 023 024import java.util.List; 025import java.awt.geom.Point2D; 026 027 028/** 029* Defines the interface in common to all airfoil type objects. 030* 031* <p> Modified by: Joseph A. Huwaldt </p> 032* 033* @author Joseph A. Huwaldt Date: October 8, 2000 034* @version May 13, 2010 035**/ 036public interface Airfoil extends java.io.Serializable { 037 038 /** 039 * Returns a list of points containing the abscissas (X coordinate) and 040 * ordinates (Y coordinate) of the points defining the upper surface of the airfoil. 041 **/ 042 public List<Point2D> getUpper(); 043 044 /** 045 * Returns a list of points containing the abscissas (X coordinate) and 046 * ordinates (Y coordinate) of the points defining the lower surface of the airfoil. 047 **/ 048 public List<Point2D> getLower(); 049 050 /** 051 * Returns a list of points containing the camber line of the airfoil. 052 **/ 053 public List<Point2D> getCamber(); 054 055 /** 056 * Returns a list containing the slope (dy/dx) of the upper 057 * surface of the airfoil at each ordinate. 058 **/ 059 public List<Double> getUpperYp(); 060 061 /** 062 * Returns a list containing the slope (dy/dx) of the lower 063 * surface of the airfoil at each ordinate. 064 **/ 065 public List<Double> getLowerYp(); 066 067} 068