org.kabeja.dxf
Class DXFSolid

java.lang.Object
  extended by org.kabeja.dxf.DXFEntity
      extended by org.kabeja.dxf.DXFSolid
Direct Known Subclasses:
DXF3DFace, DXFTrace

public class DXFSolid
extends DXFEntity

Author:
Field Summary
protected  Point point1
           
protected  Point point2
           
protected  Point point3
           
protected  Point point4
           
 
Fields inherited from class org.kabeja.dxf.DXFEntity
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile
 
Constructor Summary
DXFSolid()
           
 
Method Summary
 Bounds getBounds()
           
 double getLength()
          Returns the length of the entity or 0 if the entity has no length
 Point getPoint1()
           
 Point getPoint2()
           
 Point getPoint3()
           
 Point getPoint4()
           
 java.lang.String getType()
           
 void setPoint1(Point point1)
           
 void setPoint2(Point point2)
           
 void setPoint3(Point point3)
           
 void setPoint4(Point point4)
           
 
Methods inherited from class org.kabeja.dxf.DXFEntity
getColor, getColorRGB, getDXFDocument, getExtrusion, getFlags, getID, getLayerName, getLineType, getLinetypeScaleFactor, getLineWeight, getThickness, getTransparency, isBlockEntity, isModelSpace, isOmitLineType, isVisibile, setBlockEntity, setColor, setColorRGB, setDXFDocument, setExtrusion, setExtrusionX, setExtrusionY, setExtrusionZ, setFlags, setID, setLayerName, setLineType, setLinetypeScaleFactor, setLineWeight, setModelSpace, setThickness, setTransparency, setVisibile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

point1

protected Point point1

point2

protected Point point2

point3

protected Point point3

point4

protected Point point4
Constructor Detail

DXFSolid

public DXFSolid()
Method Detail

getBounds

public Bounds getBounds()
Specified by:
getBounds in class DXFEntity

getPoint1

public Point getPoint1()
Returns:
Returns the point1.

setPoint1

public void setPoint1(Point point1)
Parameters:
point1 - The point1 to set.

getPoint2

public Point getPoint2()
Returns:
Returns the point2.

setPoint2

public void setPoint2(Point point2)
Parameters:
point2 - The point2 to set.

getPoint3

public Point getPoint3()
Returns:
Returns the point3.

setPoint3

public void setPoint3(Point point3)
Parameters:
point3 - The point3 to set.

getPoint4

public Point getPoint4()
Returns:
Returns the point4.

setPoint4

public void setPoint4(Point point4)
Parameters:
point4 - The point4 to set.

getType

public java.lang.String getType()
Specified by:
getType in class DXFEntity

getLength

public double getLength()
Description copied from class: DXFEntity
Returns the length of the entity or 0 if the entity has no length

Specified by:
getLength in class DXFEntity
Returns: