public class DwgPolyline2D extends DwgObject implements IDwgPolyline, IDwgExtrusionable, 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 |
---|
DwgPolyline2D(int index) |
addReactorHandle, getAddress, getAvanzar, getColor, getExtendedData, 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
public DwgHandleReference getFirstVertexHandle()
public void setFirstVertexHandle(DwgHandleReference firstVertexHandle)
firstVertexHandle
- The firstVertexHandle to set.public int getFlags()
public void setFlags(int flags)
flags
- The flags to set.public DwgHandleReference getLastVertexHandle()
public void setLastVertexHandle(DwgHandleReference lastVertexHandle)
lastVertexHandle
- The lastVertexHandle to set.public List getPts()
public void setPts(List pts)
pts
- The pts to set.public double[] getBulges()
public void setBulges(double[] bulges)
bulges
- The bulges to set.public double getInitWidth()
public void setInitWidth(double initWidth)
initWidth
- The initWidth to set.public DwgHandleReference getSeqendHandle()
public void setSeqendHandle(DwgHandleReference seqendHandle)
seqendHandle
- The seqendHandle to set.public double getThickness()
public void setThickness(double thickness)
thickness
- The thickness to set.public int getCurveType()
public void setCurveType(int curveType)
curveType
- The curveType to set.public double getElevation()
public void setElevation(double elevation)
elevation
- The elevation to set.public double getEndWidth()
public void setEndWidth(double endWidth)
endWidth
- The endWidth to set.public double[] getExtrusion()
public void setExtrusion(double[] extrusion)
extrusion
- The extrusion to set.public void setVertexHandles(ArrayList handles)
Handles
- The vertexHandles to set.public ArrayList getVertexHandles()
public void addVertexHandle(DwgHandleReference handle)
Handle
- The vertexHandles to add.public void calculateGisModel(DwgFile dwgFile)
calculateGisModel
in interface IDwgPolyline
public void calculateGisModel(List dwgObjects)
public void applyExtrussion()
applyExtrussion
in interface IDwgExtrusionable
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 void addVertex(IDwgVertex vertex)
addVertex
in interface IDwgPolyline
public int getGeometrySubType(boolean is3DFile)
getGeometrySubType
in interface IDwg2FMap
getGeometrySubType
in class DwgObject
public int getGeometryType()
getGeometryType
in interface IDwg2FMap