FreeHEP API
Version current

org.freehep.graphicsio.cgm
Class EllipticalArc

java.lang.Object
  extended byorg.freehep.util.io.Tag
      extended byorg.freehep.graphicsio.cgm.CGMTag
          extended byorg.freehep.graphicsio.cgm.Ellipse
              extended byorg.freehep.graphicsio.cgm.EllipticalArc
Direct Known Subclasses:
EllipticalArcClose

public class EllipticalArc
extends Ellipse

EllipticalArc TAG.

Version:
$Id: EllipticalArc.java,v 1.1 2001/11/29 01:45:25 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
EllipticalArc.java

Field Summary
protected  Point2D delta0
           
protected  Point2D delta1
           
 
Fields inherited from class org.freehep.graphicsio.cgm.Ellipse
c1, c2, p
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Constructor Summary
  EllipticalArc()
           
protected EllipticalArc(int elementClass, int elementID, int version)
           
  EllipticalArc(Point2D p, Point2D c1, Point2D c2, Point2D delta0, Point2D delta1)
           
 
Method Summary
 void write(int tagID, CGMOutputStream cgm)
          Writes the extra tag information to the outputstream in binary format.
 void write(int tagID, CGMWriter cgm)
          Writes the full tag to the Writer in Clear Text format.
protected  void writeArcBounds(CGMWriter cgm)
           
 
Methods inherited from class org.freehep.graphicsio.cgm.Ellipse
writeEllipseSpec
 
Methods inherited from class org.freehep.graphicsio.cgm.CGMTag
read, read, toString, write
 
Methods inherited from class org.freehep.util.io.Tag
getName, getTag, getTagType, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

delta0

protected Point2D delta0

delta1

protected Point2D delta1
Constructor Detail

EllipticalArc

public EllipticalArc()

EllipticalArc

public EllipticalArc(Point2D p,
                     Point2D c1,
                     Point2D c2,
                     Point2D delta0,
                     Point2D delta1)

EllipticalArc

protected EllipticalArc(int elementClass,
                        int elementID,
                        int version)
Method Detail

write

public void write(int tagID,
                  CGMOutputStream cgm)
           throws IOException
Description copied from class: CGMTag
Writes the extra tag information to the outputstream in binary format. This implementation writes nothing, but concrete tags may override this method. This method is called just after the TagHeader is written.

Overrides:
write in class Ellipse
Throws:
IOException

write

public void write(int tagID,
                  CGMWriter cgm)
           throws IOException
Description copied from class: CGMTag
Writes the full tag to the Writer in Clear Text format.

Overrides:
write in class Ellipse
Throws:
IOException

writeArcBounds

protected void writeArcBounds(CGMWriter cgm)
                       throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.