Class DwgPolyline3D
- java.lang.Object
-
- org.hortonmachine.gears.io.dxfdwg.libs.dwg.DwgObject
-
- org.hortonmachine.gears.io.dxfdwg.libs.dwg.objects.DwgPolyline3D
-
public class DwgPolyline3D extends DwgObject
The DwgPolyline3D class represents a DWG Polyline3D- Author:
- jmorell
-
-
Field Summary
-
Fields inherited from class org.hortonmachine.gears.io.dxfdwg.libs.dwg.DwgObject
color, extendedData, graphicData, graphicsFlag, handle, layerHandle, layerHandleCode, linetypeFlags, mode, noLinks, numReactors, plotstyleFlags, sizeInBits, subEntityHandle, type, version, xDicObjHandle
-
-
Constructor Summary
Constructors Constructor Description DwgPolyline3D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()double[]getBulges()intgetClosedFlags()intgetFirstVertexHandle()intgetLastVertexHandle()double[][]getPts()intgetSeqendHandle()intgetSplineFlags()voidreadDwgPolyline3DV15(int[] data, int offset)Read a Polyline3D in the DWG format Version 15voidsetBulges(double[] bulges)voidsetClosedFlags(int closedFlags)voidsetFirstVertexHandle(int firstVertexHandle)voidsetLastVertexHandle(int lastVertexHandle)voidsetPts(double[][] pts)voidsetSeqendHandle(int seqendHandle)voidsetSplineFlags(int splineFlags)-
Methods inherited from class org.hortonmachine.gears.io.dxfdwg.libs.dwg.DwgObject
getColor, getExtendedData, getGraphicData, getHandle, getLayerHandle, getLayerHandleCode, getLinetypeFlags, getMode, getNumReactors, getPlotstyleFlags, getSizeInBits, getSubEntityHandle, getType, getVersion, getXDicObjHandle, isGraphicsFlag, isNoLinks, readObjectHeaderV15, readObjectTailV15, setColor, setExtendedData, setGraphicData, setGraphicsFlag, setHandle, setLayerHandle, setLayerHandleCode, setLinetypeFlags, setMode, setNoLinks, setNumReactors, setPlotstyleFlags, setSizeInBits, setSubEntityHandle, setType, setVersion, setXDicObjHandle
-
-
-
-
Method Detail
-
readDwgPolyline3DV15
public void readDwgPolyline3DV15(int[] data, int offset) throws ExceptionRead a Polyline3D in the DWG format Version 15- Parameters:
data- Array of unsigned bytes obtained from the DWG binary fileoffset- The current bit offset where the value begins- Throws:
Exception- If an unexpected bit value is found in the DWG file. Occurs when we are looking for LwPolylines.
-
getClosedFlags
public int getClosedFlags()
- Returns:
- Returns the closedFlags.
-
setClosedFlags
public void setClosedFlags(int closedFlags)
- Parameters:
closedFlags- The closedFlags to set.
-
getFirstVertexHandle
public int getFirstVertexHandle()
- Returns:
- Returns the firstVertexHandle.
-
setFirstVertexHandle
public void setFirstVertexHandle(int firstVertexHandle)
- Parameters:
firstVertexHandle- The firstVertexHandle to set.
-
getLastVertexHandle
public int getLastVertexHandle()
- Returns:
- Returns the lastVertexHandle.
-
setLastVertexHandle
public void setLastVertexHandle(int lastVertexHandle)
- Parameters:
lastVertexHandle- The lastVertexHandle to set.
-
getPts
public double[][] getPts()
- Returns:
- Returns the pts.
-
setPts
public void setPts(double[][] pts)
- Parameters:
pts- The pts to set.
-
getBulges
public double[] getBulges()
- Returns:
- Returns the bulges.
-
setBulges
public void setBulges(double[] bulges)
- Parameters:
bulges- The bulges to set.
-
getSeqendHandle
public int getSeqendHandle()
- Returns:
- Returns the seqendHandle.
-
setSeqendHandle
public void setSeqendHandle(int seqendHandle)
- Parameters:
seqendHandle- The seqendHandle to set.
-
getSplineFlags
public int getSplineFlags()
- Returns:
- Returns the splineFlags.
-
setSplineFlags
public void setSplineFlags(int splineFlags)
- Parameters:
splineFlags- The splineFlags to set.
-
-