Package it.betastudio.adbtoolbox.libs
Class DxfExport
- java.lang.Object
-
- it.betastudio.adbtoolbox.libs.DxfExport
-
public class DxfExport extends Object
- Author:
- Beta Studio
-
-
Constructor Summary
Constructors Constructor Description DxfExport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
exportDxf(String dxfFullFileName)
void
writeAppId()
void
writeEnding()
void
writeEndSec()
void
writeEntStart()
void
writeHeader(double minX, double minY, double maxX, double maxY)
void
writeLayer(String layName, int colourNr)
void
writeLayersStart()
void
writeLine(String layName, double p1x, double p1y, double p2x, double p2y)
void
writeLineType(String layerName, String lineType, double p1x, double p1y, double p2x, double p2y)
void
writeLwPolyLine(double[][] vertices)
void
writePolyline(String layName, double[][] vertices)
void
writePolyline(String layName, String lineType, double[][] vertices, int colourNr)
void
writeStartSec()
void
writeTableEnd()
void
writeTablesStart()
void
writeTableStart()
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)
void
writeVPort(double centerX, double centerY, double minX, double minY, double maxX, double maxY)
-
-
-
Method Detail
-
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 namelineType
- ( DASHED - DOTTED -DOTTINY etc)p1x
- x value of the first pointp1y
- y value of the first pointp2x
- x value of the second pointp2y
- 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)
-
-