Class DwgVertex3D
- java.lang.Object
-
- org.hortonmachine.gears.io.dxfdwg.libs.dwg.DwgObject
-
- org.hortonmachine.gears.io.dxfdwg.libs.dwg.objects.DwgVertex3D
-
public class DwgVertex3D extends DwgObject
The DwgVertex3D class represents a DWG Vertex3D- 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 DwgVertex3D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFlags()double[]getPoint()voidreadDwgVertex3DV15(int[] data, int offset)Read a Vertex3D in the DWG format Version 15voidsetFlags(int flags)voidsetPoint(double[] point)-
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
-
readDwgVertex3DV15
public void readDwgVertex3DV15(int[] data, int offset) throws ExceptionRead a Vertex3D 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.
-
getFlags
public int getFlags()
- Returns:
- Returns the flags.
-
setFlags
public void setFlags(int flags)
- Parameters:
flags- The flags to set.
-
getPoint
public double[] getPoint()
- Returns:
- Returns the point.
-
setPoint
public void setPoint(double[] point)
- Parameters:
point- The point to set.
-
-