Class DwgPolyline3D

java.lang.Object
org.gvsig.dwg.lib.DwgObject
org.gvsig.dwg.lib.objects.DwgPolyline3D
All Implemented Interfaces:
Cloneable, IDwg2FMap, IDwg3DTestable, IDwgBlockMember, IDwgPolyline

public class DwgPolyline3D extends DwgObject implements IDwgPolyline, IDwg3DTestable, IDwg2FMap, IDwgBlockMember
The DwgPolyline3D class represents a DWG Polyline3D
Author:
jmorell
  • Constructor Details

    • DwgPolyline3D

      public DwgPolyline3D(int index)
  • Method Details

    • getClosedFlags

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

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

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

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

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

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

      public List getPts()
      Returns:
      Returns the pts.
    • setPts

      public void setPts(List 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 DwgHandleReference getSeqendHandle()
      Returns:
      Returns the seqendHandle.
    • setSeqendHandle

      public void setSeqendHandle(DwgHandleReference 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.
    • calculateGisModel

      public void calculateGisModel(DwgFile dwgFile)
      Specified by:
      calculateGisModel in interface IDwgPolyline
    • calculateGisModel

      public void calculateGisModel(List dwgObjects)
    • has3DData

      public boolean has3DData()
      Specified by:
      has3DData in interface IDwg3DTestable
    • getZ

      public double getZ()
      Specified by:
      getZ in interface IDwg3DTestable
    • getPZ

      public double[] getPZ()
    • toFMapGeometry

      public org.gvsig.fmap.geom.Geometry toFMapGeometry(boolean is3DFile) throws org.gvsig.fmap.geom.exception.CreateGeometryException
      Specified by:
      toFMapGeometry in interface IDwg2FMap
      Throws:
      org.gvsig.fmap.geom.exception.CreateGeometryException
    • toFMapString

      public String toFMapString(boolean is3DFile)
      Specified by:
      toFMapString in interface IDwg2FMap
    • toString

      public String toString()
      Specified by:
      toString in interface IDwg2FMap
      Overrides:
      toString in class Object
    • clone

      public Object clone()
      Overrides:
      clone in class DwgObject
    • fill

      protected void fill(DwgObject obj)
      Overrides:
      fill in class DwgObject
    • addVertex

      public void addVertex(IDwgVertex vertex)
      Specified by:
      addVertex in interface IDwgPolyline
    • transform2Block

      public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, Map handleObjWithoutBlocks, DwgFile callBack)
      Specified by:
      transform2Block in interface IDwgBlockMember
    • setVertexHandles

      public void setVertexHandles(ArrayList Handles)
      Parameters:
      Handles - The vertexHandles to set.
    • getVertexHandles

      public ArrayList getVertexHandles()
      Returns:
      Returns the vertexHandles.
    • addVertexHandle

      public void addVertexHandle(DwgHandleReference handle)
      Parameters:
      Handle - The vertexHandles to add.
    • getGeometryType

      public int getGeometryType()
      Specified by:
      getGeometryType in interface IDwg2FMap