Packages

 

com.aspose.cad.fileformats.dgn.dgnelements

Class DgnRootElement



  • public class DgnRootElement
    extends DgnElement

    Represents root element of a DGN file

    • Field Detail

      • views_internalized

        public final DgnViewInfo[] views_internalized

        Gets global views_internalized

    • Constructor Detail

      • DgnRootElement

        public DgnRootElement(byte[] data)

        Initializes a new instance of the DgnRootElement class

        Parameters:
        data - raw data
    • Method Detail

      • is3D

        public boolean is3D()

        Gets a value indicating whether the file is 3D model

        Returns:
        True if the file is 3D model
      • getScale

        public double getScale()

        Gets global scale factor

        Returns:
        The global scale factor
      • getOriginPoint

        public DgnPoint getOriginPoint()

        Gets global origin point

        Returns:
        The global origin point
      • getAxisLockAngel

        public double getAxisLockAngel()

        Gets axis lock angel

        Returns:
        The axis lock angel
      • getAxisLockOrigin

        public double getAxisLockOrigin()

        Gets axis lock origin

        Returns:
        The axis lock origin
      • getActiveCell

        public int getActiveCell()

        Gets active cell

        Returns:
        The active cell
      • getActivePatteringScale

        public double getActivePatteringScale()

        Gets active pattering scale

        Returns:
        The active pattering scale
      • getActivePatteringCell

        public int getActivePatteringCell()

        Gets active pattering cell

        Returns:
        The active pattering cell
      • getActivePatteringRowSpacing

        public int getActivePatteringRowSpacing()

        Gets active pattering row spacing

        Returns:
        The active pattering row spacing
      • getActivePatteringAngle

        public double getActivePatteringAngle()

        Gets active pattering angle

        Returns:
        The active pattering angle
      • getActivePatteringAngle2

        public double getActivePatteringAngle2()

        Gets second active pattering angle

        Returns:
        The second active pattering angle
      • getActivePatteringColumnSpacing

        public int getActivePatteringColumnSpacing()

        Gets active pattering column spacing

        Returns:
        The active pattering column spacing
      • getActivePoint

        public int getActivePoint()

        Gets active point

        Returns:
        The active point
      • getActiveLineTerminatorScale

        public double getActiveLineTerminatorScale()

        Gets active line terminator scale

        Returns:
        The active line terminator scale
      • getActiveLineTerminator

        public int getActiveLineTerminator()

        Gets active line terminator

        Returns:
        The active line terminator
      • getKeyPointSnapFlag

        public short getKeyPointSnapFlag()

        Gets key point snap flag

        Returns:
        The key point snap flag
      • getKeyPointSnapDivisor

        public short getKeyPointSnapDivisor()

        Gets key point snap divisor

        Returns:
        The key point snap divisor
      • getUnitType

        public int getUnitType()

        Gets unit type of design file

        Returns:
        The unit type of design file
      • getSubUnitType

        public int getSubUnitType()

        Gets sub-unit type of design file

        Returns:
        The sub-unit type of design file