dxfExporter
Class DXFBezier

java.lang.Object
  extended bydxfExporter.DXFFigure
      extended bydxfExporter.DXFBezier

class DXFBezier
extends DXFFigure

Bezier curve which added to DXF as cubic SPLINE with a null amount of fit-points.
Important: this class "draws" cubic Bezier curves on DXF drawing by using the endpoints and control points specified by the Points parameter (on analogy with Win32 API PolyBezier function). The first curve is drawn from the first point to the fourth point by using the second and third points as control points. Each subsequent curve in the sequence needs exactly three more points: the ending point of the previous curve is used as the starting point, the next two points in the sequence are control points, and the third is the ending point.
Description:
Data.Points - points of the bezier curve.


Field Summary
 
Fields inherited from class dxfExporter.DXFFigure
Data
 
Constructor Summary
DXFBezier(DXFData Dt)
           
 
Method Summary
 void exportAsDXF(DXFExport Xprt)
           
 
Methods inherited from class dxfExporter.DXFFigure
toDXFPoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DXFBezier

public DXFBezier(DXFData Dt)
Method Detail

exportAsDXF

public void exportAsDXF(DXFExport Xprt)
Specified by:
exportAsDXF in class DXFFigure