/* Buoy4Floater.java * * Copyright (c) 2002, Tuomas J. Lukka * * You may use and distribute under the terms of either the GNU Lesser * General Public License, either version 2 of the license or, * at your choice, any later version. Alternatively, you may use and * distribute under the terms of the XPL. * * See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of * the licenses. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README * file for more details. * */ /* * Written by Tuomas J. Lukka */ package gzz.vob.buoy; /** An interface to buoy layouts. */ public interface Buoy4Floater { /** Get a buoy coordinate system. * The anchor is at the origin of anchorCS. * The coordinate system returned will be a simple translation, * from the parent coordinate system known to this floater (i.e. will * not be related to anchorCS). */ int buoyCoordsys(int anchorCS); /** Finish placing buoys. * This function may modify the coordinate systems returned by buoyCoordsys. */ void finishFloating(); }