com.iver.cit.jdwglib.dwg.objects
Class DwgVertex3D

java.lang.Object
  extended bycom.iver.cit.jdwglib.dwg.DwgObject
      extended bycom.iver.cit.jdwglib.dwg.objects.DwgVertex3D

public class DwgVertex3D
extends DwgObject

The DwgVertex3D class represents a DWG Vertex3D

Author:
jmorell

Constructor Summary
DwgVertex3D()
           
 
Method Summary
 int getFlags()
           
 double[] getPoint()
           
 void readDwgVertex3DV15(int[] data, int offset)
          Read a Vertex3D in the DWG format Version 15
 void setFlags(int flags)
           
 void setPoint(double[] point)
           
 
Methods inherited from class com.iver.cit.jdwglib.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DwgVertex3D

public DwgVertex3D()
Method Detail

readDwgVertex3DV15

public void readDwgVertex3DV15(int[] data,
                               int offset)
                        throws java.lang.Exception
Read a Vertex3D in the DWG format Version 15

Parameters:
data - Array of unsigned bytes obtained from the DWG binary file
offset - The current bit offset where the value begins
Throws:
java.lang.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.