001/*
002 *   Entity104_0_GenConicArc  -- Entity representing a General Conic Arc.
003 *
004 *   Copyright (C) 2010-2016, 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 *
022 *   Based on, but heavily modified from, IGESView ( http://ts.nist.gov/Standards/IGES/igesTools.cfm )
023 */
024package geomss.geom.reader.iges;
025
026/**
027 * <b><i>CONIC ARC ENTITY - GENERAL</i></b> - This entity defines an ellipse, a parabola,
028 * a hyperbola, or a portion of one of these conic curves which may be isolated or used as
029 * a component of a Composite Curve or a subfigure. Form 0 indicates that the type of the
030 * parent conic must be determined from the equations. This form is now deprecated.
031 * 
032* <p>
033 * This entity, when read from an IGES file, is converted to a NURBS curve of degree 2
034 * (IGES type 126, Form 2, Degree 2). This entity type can not be written out to an IGES
035 * file.
036 * </p>
037 *
038 * <p> Modified by: Joseph A. Huwaldt </p>
039 * 
040 * @author JDN, Version 1.0
041 * @version September 13, 2016
042 * @see Entity104_ConicArc
043 */
044public class Entity104_0_GenConicArc extends Entity104_ConicArc {
045
046    /**
047     * Default constructor.
048     *
049     * @param p  part to which this entity is contained
050     * @param de Directory Entry for this entity
051     */
052    public Entity104_0_GenConicArc(Part p, DirEntry de) {
053        super(p, de);
054
055        if (Constants.DEBUG) {
056            System.out.println("Entity104_0 constructor called");
057        }
058    }
059
060    /**
061     * Returns a short String describing this Entity object's type.
062     *
063     * @return A short String describing this Entity object's type.
064     */
065    @Override
066    public String getTypeString() {
067        return "Entity104_0 - Conic Arc - General";
068    }
069
070}