Class DxfExport

java.lang.Object
it.betastudio.adbtoolbox.libs.DxfExport

public class DxfExport extends Object
Author:
Beta Studio
  • Constructor Details

    • DxfExport

      public DxfExport()
  • Method Details

    • writeHeader

      public void writeHeader(double minX, double minY, double maxX, double maxY)
    • writeStartSec

      public void writeStartSec()
    • writeEndSec

      public void writeEndSec()
    • writeTablesStart

      public void writeTablesStart()
    • writeTableStart

      public void writeTableStart()
    • writeTableEnd

      public void writeTableEnd()
    • writeLayersStart

      public void writeLayersStart()
    • writeLayer

      public void writeLayer(String layName, int colourNr)
    • writeVPort

      public void writeVPort(double centerX, double centerY, double minX, double minY, double maxX, double maxY)
    • writeEntStart

      public void writeEntStart()
    • writeAppId

      public void writeAppId()
    • writeEnding

      public void writeEnding()
    • writeLine

      public void writeLine(String layName, double p1x, double p1y, double p2x, double p2y)
    • writeLineType

      public void writeLineType(String layerName, String lineType, double p1x, double p1y, double p2x, double p2y)
      Parameters:
      layerName - the layer name
      lineType - ( DASHED - DOTTED -DOTTINY etc)
      p1x - x value of the first point
      p1y - y value of the first point
      p2x - x value of the second point
      p2y - y value of the second point
    • writePolyline

      public void writePolyline(String layName, double[][] vertices)
    • writePolyline

      public void writePolyline(String layName, String lineType, double[][] vertices, int colourNr)
    • writeLwPolyLine

      public void writeLwPolyLine(double[][] vertices)
    • writeText

      public void writeText(String layName, double alignPoint1x, double alignPoint1y, double alignPoint1z, double alignPoint2x, double alignPoint2y, double alignPoint2z, int textHight, double textRotation, int horizJust, int vertAlign, String text)
    • exportDxf

      public int exportDxf(String dxfFullFileName)