dxfExporter
Class DXFArc
java.lang.Object
dxfExporter.DXFFigure
dxfExporter.DXFArc
- public class DXFArc
- extends DXFFigure
Arc in DXF drawing.
Description:
Data.Point = cordinates of the center point;
Data.SelfType = arc type (see class ArcType):
- atCircle
Data.Point1 = this parameter is not used;
Data.Radius = radius;
Data.StartAngle, Data.EndAngle = angles in radian.
- atEllipse
Data.Point1 = endpoint of major axis, relative to the center;
Data.Radius = ratio of minor axis to major axis;
Data.StartAngle, Data.EndAngle = angles in degrees.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DXFArc
public DXFArc(DXFData Dt)
getPoint
public DXFPoint getPoint()
getRadius
public float getRadius()
getStartAngle
public float getStartAngle()
getEndAngle
public float getEndAngle()
getType
public byte getType()
setType
public void setType(byte aType)
setPoint
public void setPoint(DXFPoint Pt)
setRadius
public void setRadius(float Radius)
setStartAngle
public void setStartAngle(float StartAngle)
setEndAngle
public void setEndAngle(float EndAngle)
exportAsDXF
public void exportAsDXF(DXFExport Xprt)
- Specified by:
exportAsDXF
in class DXFFigure