Class Entity100_CircularArc


  • public class Entity100_CircularArc
    extends GeomSSEntity
    CIRCULAR ARC ENTITY - This entity defines a circle or a portion of a circle which may be isolated or used as a component of a Composite Curve Entity or a subfigure. The definition space coordinate system is always chosen so that the circular arc remains in a plane either coincident with or parallel to the XT, YT plane.

    This entity, when read from an IGES file, is converted to a NURBS curve of degree 2 (IGES type 126, Form 2, Degree 2). This entity type can not be written out to an IGES file. All circular arc parameters are stored in the user data with the prefix "IGES_100_" followed by the parameter name.

    Modified by: Joseph A. Huwaldt

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

      • Entity100_CircularArc

        public Entity100_CircularArc​(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 is correct. The following restrictions are imposed: - The length must be greater than 0.0
        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
      • getTypeString

        public java.lang.String getTypeString()
        Returns a short String describing this Entity object's type.
        Specified by:
        getTypeString in class Entity
        Returns:
        A short String describing this Entity object's type.
      • toString

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