Class Entity104_ConicArc

  • Direct Known Subclasses:
    Entity104_0_GenConicArc, Entity104_1_EllipticalArc, Entity104_2_HyperbolicArc, Entity104_3_ParabolicArc

    public abstract class Entity104_ConicArc
    extends GeomSSEntity
    CONIC ARC ENTITY - This entity defines an ellipse, a parabola, a hyperbola, or a portion of one of these conic curves which may be isolated or used as a component of a Composite Curve or a sub-figure. The definition space coordinate system is always chosen so that the conic arc lies in a plane either coincident with or parallel to XT, YT plane. Within such a plane a conic is defined by the six coefficients in the following equation: A*XT^2 + B*XT*YT + C*YT^2 + D*XT + E*YT + F = 0

    These entities (forms 0-3), when read from an IGES file, are converted to NURBS curves of degree 2 (IGES type 126, Form 2, Degree 2). This entity type can not be written out to an IGES file. All conic arc parameters are stored in the user data with the prefix "IGES_106_" followed by the parameter name.

    Modified by: Joseph A. Huwaldt

    Version:
    September 13, 2016
    Author:
    JDN, Version 1.0
    • Constructor Detail

      • Entity104_ConicArc

        public Entity104_ConicArc​(Part p,
                                  DirEntry de)
        Default constructor.
        Parameters:
        p - part to which this entity is contained
        de - Directory Entry for this entity
    • Method Detail

      • check

        public void check()
        Checks to see if the entity should be drawn. No restrictions are imposed.
        Specified by:
        check in class Entity
      • read

        public void read​(java.io.RandomAccessFile in)
                  throws java.io.IOException
        Read the Parameter Data from the String read in by the superclass.
        Overrides:
        read in class Entity
        Parameters:
        in - input file
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Dump to String.
        Overrides:
        toString in class Entity
        Returns:
        String containing the resulting text.