Class DwgPolyline3D


  • public class DwgPolyline3D
    extends DwgObject
    The DwgPolyline3D class represents a DWG Polyline3D
    Author:
    jmorell
    • Constructor Detail

      • DwgPolyline3D

        public DwgPolyline3D()
    • Method Detail

      • readDwgPolyline3DV15

        public void readDwgPolyline3DV15​(int[] data,
                                         int offset)
                                  throws Exception
        Read a Polyline3D in the DWG format Version 15
        Parameters:
        data - Array of unsigned bytes obtained from the DWG binary file
        offset - The current bit offset where the value begins
        Throws:
        Exception - If an unexpected bit value is found in the DWG file. Occurs when we are looking for LwPolylines.
      • getClosedFlags

        public int getClosedFlags()
        Returns:
        Returns the closedFlags.
      • setClosedFlags

        public void setClosedFlags​(int closedFlags)
        Parameters:
        closedFlags - The closedFlags to set.
      • getFirstVertexHandle

        public int getFirstVertexHandle()
        Returns:
        Returns the firstVertexHandle.
      • setFirstVertexHandle

        public void setFirstVertexHandle​(int firstVertexHandle)
        Parameters:
        firstVertexHandle - The firstVertexHandle to set.
      • getLastVertexHandle

        public int getLastVertexHandle()
        Returns:
        Returns the lastVertexHandle.
      • setLastVertexHandle

        public void setLastVertexHandle​(int lastVertexHandle)
        Parameters:
        lastVertexHandle - The lastVertexHandle to set.
      • getPts

        public double[][] getPts()
        Returns:
        Returns the pts.
      • setPts

        public void setPts​(double[][] pts)
        Parameters:
        pts - The pts to set.
      • getBulges

        public double[] getBulges()
        Returns:
        Returns the bulges.
      • setBulges

        public void setBulges​(double[] bulges)
        Parameters:
        bulges - The bulges to set.
      • getSeqendHandle

        public int getSeqendHandle()
        Returns:
        Returns the seqendHandle.
      • setSeqendHandle

        public void setSeqendHandle​(int seqendHandle)
        Parameters:
        seqendHandle - The seqendHandle to set.
      • getSplineFlags

        public int getSplineFlags()
        Returns:
        Returns the splineFlags.
      • setSplineFlags

        public void setSplineFlags​(int splineFlags)
        Parameters:
        splineFlags - The splineFlags to set.