Package org.gvsig.dwg.lib.objects
Class DwgLwPolyline
java.lang.Object
org.gvsig.dwg.lib.DwgObject
org.gvsig.dwg.lib.objects.DwgLwPolyline
- All Implemented Interfaces:
Cloneable,IDwg2FMap,IDwg3DTestable,IDwgBlockMember,IDwgExtrusionable,IDwgPolyline
public class DwgLwPolyline
extends DwgObject
implements IDwgPolyline, IDwgExtrusionable, IDwg3DTestable, IDwg2FMap, IDwgBlockMember
The DwgLwPolyline class represents a DWG LwPolyline
- Author:
- jmorell
-
Field Summary
Fields inherited from class org.gvsig.dwg.lib.DwgObject
address, avanzarFlag, color, extendedData, graphicData, graphicsFlag, handle, index, layerHandle, linetypeFlags, mode, noLinks, numReactors, plotstyleFlags, plotStyleHandle, sizeInBits, subEntityHandle, type, version, xDicObjFlag, xDicObjHandle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVertex(IDwgVertex vertex) voidvoidcalculateGisModel(DwgFile dwgFile) clone()protected voiddouble[]doubledoubleintgetFlag()intdouble[]doubledouble[][]doublegetZ()booleanvoidsetBulges(double[] bulges) voidsetConstWidth(double constWidth) voidsetElevation(double elevation) voidsetFlag(int flag) voidsetNormal(double[] normal) voidsetThickness(double thickness) voidsetVertices(List vertices) voidsetWidths(double[][] widths) org.gvsig.fmap.geom.GeometrytoFMapGeometry(boolean is3DFile) toFMapString(boolean is3DFile) toString()voidtransform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, Map handleObjWithoutBlocks, DwgFile callBack) Methods inherited from class org.gvsig.dwg.lib.DwgObject
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, setXDicObjHandleMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.dwg.lib.IDwg2FMap
getGeometrySubType
-
Constructor Details
-
DwgLwPolyline
public DwgLwPolyline(int index)
-
-
Method Details
-
getBulges
public double[] getBulges()- Returns:
- Returns the bulges.
-
setBulges
public void setBulges(double[] bulges) - Parameters:
bulges- The bulges to set.
-
getFlag
public int getFlag()- Returns:
- Returns the flag.
-
setFlag
public void setFlag(int flag) - Parameters:
flag- The flag to set.
-
getVertices
- Returns:
- Returns the vertices.
-
setVertices
- Parameters:
vertices- The vertices to set.
-
getElevation
public double getElevation()- Returns:
- Returns the elevation.
-
setElevation
public void setElevation(double elevation) - Parameters:
elevation- The elevation to set.
-
getNormal
public double[] getNormal()- Returns:
- Returns the normal.
-
getConstWidth
public double getConstWidth()- Returns:
- Returns the constWidth.
-
setConstWidth
public void setConstWidth(double constWidth) - Parameters:
constWidth- The constWidth to set.
-
getThickness
public double getThickness()- Returns:
- Returns the thickness.
-
setThickness
public void setThickness(double thickness) - Parameters:
thickness- The thickness to set.
-
getWidths
public double[][] getWidths()- Returns:
- Returns the widths.
-
setWidths
public void setWidths(double[][] widths) - Parameters:
widths- The widths to set.
-
setNormal
public void setNormal(double[] normal) - Parameters:
normal- The normal to set.
-
calculateGisModel
- Specified by:
calculateGisModelin interfaceIDwgPolyline
-
applyExtrussion
public void applyExtrussion()- Specified by:
applyExtrussionin interfaceIDwgExtrusionable
-
has3DData
public boolean has3DData()- Specified by:
has3DDatain interfaceIDwg3DTestable
-
getZ
public double getZ()- Specified by:
getZin interfaceIDwg3DTestable
-
toFMapGeometry
public org.gvsig.fmap.geom.Geometry toFMapGeometry(boolean is3DFile) throws org.gvsig.fmap.geom.exception.CreateGeometryException - Specified by:
toFMapGeometryin interfaceIDwg2FMap- Throws:
org.gvsig.fmap.geom.exception.CreateGeometryException
-
toFMapString
- Specified by:
toFMapStringin interfaceIDwg2FMap
-
toString
-
transform2Block
public void transform2Block(double[] bPoint, Point2D insPoint, double[] scale, double rot, List dwgObjectsWithoutBlocks, Map handleObjWithoutBlocks, DwgFile callBack) - Specified by:
transform2Blockin interfaceIDwgBlockMember
-
clone
-
fill
-
addVertex
- Specified by:
addVertexin interfaceIDwgPolyline
-
getGeometryType
public int getGeometryType()- Specified by:
getGeometryTypein interfaceIDwg2FMap
-