public class DwgLine extends DwgObject implements IDwg3DTestable, IDwg2FMap, IDwgBlockMember
address, avanzarFlag, color, extendedData, graphicData, graphicsFlag, handle, index, layerHandle, linetypeFlags, mode, noLinks, numReactors, plotstyleFlags, plotStyleHandle, sizeInBits, subEntityHandle, type, version, xDicObjFlag, xDicObjHandle
Constructor and Description |
---|
DwgLine(int index) |
Modifier and Type | Method and Description |
---|---|
void |
applyExtrussion() |
Object |
clone() |
protected void |
fill(DwgObject obj) |
double[] |
getExtrusion() |
int |
getGeometryType() |
double[] |
getP1() |
double[] |
getP2() |
double |
getThickness() |
double |
getZ() |
boolean |
has3DData() |
boolean |
isZflag() |
void |
setExtrusion(double[] extrusion) |
void |
setP1(double[] p1) |
void |
setP2(double[] p2) |
void |
setThickness(double thickness) |
void |
setZflag(boolean zflag) |
Geometry |
toFMapGeometry(boolean is3DFile) |
String |
toFMapString(boolean is3DFile) |
String |
toString() |
void |
transform2Block(double[] bPoint,
Point2D insPoint,
double[] scale,
double rot,
List dwgObjectsWithoutBlocks,
Map handleObjWithoutBlocks,
DwgFile callBack) |
addReactorHandle, getAddress, getAvanzar, getColor, getExtendedData, getGeometrySubType, getGraphicData, getHandle, getIndex, getLayerHandle, getLinetypeFlags, getLineTypeHandle, getMode, getNextHandle, getNumReactors, getPlotstyleFlags, getPreviousHandle, getReactorsHandles, getSizeInBits, getSubEntityHandle, getType, getVersion, getXDicObjHandle, hasLayerHandle, hasLineTypeHandle, hasNextHandle, hasPlotStyleHandle, hasPreviousHandle, hasReactorsHandles, hasSubEntityHandle, hasXDicObjHandle, inserta, insertar, isGraphicsFlag, isLyrByLineType, isNoLinks, isXDicObjFlag, reactorsHandlesQuantity, setAddress, setAvanzar, setColor, setExtendedData, setGraphicData, setGraphicsFlag, setHandle, setLayerHandle, setLinetypeFlags, setLineTypeHandle, setLyrByLineType, setMode, setNextHandle, setNoLinks, setNumReactors, setPlotstyleFlags, setPlotStyleHandle, setPreviousHandle, setSizeInBits, setSubEntityHandle, setType, setVersion, setXDicObjFlag, setXDicObjHandle
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGeometrySubType
public double[] getP1()
public void setP1(double[] p1)
p1
- The p1 to set.public double[] getP2()
public void setP2(double[] p2)
p2
- The p2 to set.public double[] getExtrusion()
public void setExtrusion(double[] extrusion)
extrusion
- The extrusion to set.public double getThickness()
public void setThickness(double thickness)
thickness
- The thickness to set.public boolean isZflag()
public void setZflag(boolean zflag)
zflag
- The zflag to set.public void applyExtrussion()
public boolean has3DData()
has3DData
in interface IDwg3DTestable
public double getZ()
getZ
in interface IDwg3DTestable
public Geometry toFMapGeometry(boolean is3DFile) throws CreateGeometryException
toFMapGeometry
in interface IDwg2FMap
CreateGeometryException
public String toFMapString(boolean is3DFile)
toFMapString
in interface IDwg2FMap
public String toString()
public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, Map handleObjWithoutBlocks, DwgFile callBack)
transform2Block
in interface IDwgBlockMember
public int getGeometryType()
getGeometryType
in interface IDwg2FMap