org.kabeja.dxf
Class DXFCircle

java.lang.Object
  extended by org.kabeja.dxf.DXFEntity
      extended by org.kabeja.dxf.DXFCircle

public class DXFCircle
extends DXFEntity

Author:
Field Summary
 
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
DXFCircle()
           
 
Method Summary
 Bounds getBounds()
           
 Point getCenterPoint()
           
 double getLength()
          Returns the length of the entity or 0 if the entity has no length
 Point getPointAt(double angle)
           
 double getRadius()
           
 java.lang.String getType()
           
 void setCenterPoint(Point p)
           
 void setRadius(double radius)
           
 
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
 

Constructor Detail

DXFCircle

public DXFCircle()
Method Detail

getRadius

public double getRadius()

setRadius

public void setRadius(double radius)
Parameters:
radius - The radius to set.

setCenterPoint

public void setCenterPoint(Point p)

getCenterPoint

public Point getCenterPoint()

getBounds

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

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:

getPointAt

public Point getPointAt(double angle)