/* GeoGebra - Dynamic Mathematics for Everyone http://www.geogebra.org This file is part of GeoGebra. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. */ /* * AlgoEllipseFociLength.java * * Created on 15. November 2001, 21:37 */ package geogebra.kernel; import geogebra.euclidian.EuclidianConstants; import geogebra.kernel.arithmetic.NumberValue; /** * Ellipse for given foci and first semi-axis length * @author Markus * @version */ public class AlgoEllipseFociLength extends AlgoConicFociLength { AlgoEllipseFociLength( Construction cons, String label, GeoPoint A, GeoPoint B, NumberValue a) { super(cons, label, A, B, a); } public String getClassName() { return "AlgoEllipseFociLength"; } public int getRelatedModeID() { return EuclidianConstants.MODE_ELLIPSE_THREE_POINTS; } final public String toString() { // Michael Borcherds 2008-03-30 // simplified to allow better Chinese translation return app.getPlain("EllipseWithFociABandFirstAxisLengthC",A.getLabel(),B.getLabel(),a.toGeoElement().getLabel()); } }