FreeHEP API
Version v1.1

org.freehep.graphicsio.cgm
Class CircularArc3Point

java.lang.Object
  |
  +--org.freehep.util.io.Tag
        |
        +--org.freehep.graphicsio.cgm.CGMTag
              |
              +--org.freehep.graphicsio.cgm.CircularArc3Point
Direct Known Subclasses:
CircularArc3PointClose

public class CircularArc3Point
extends CGMTag

CircularArc3Point TAG.

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

Field Summary
protected  Point2D pe
           
protected  Point2D pi
           
protected  Point2D ps
           
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Constructor Summary
  CircularArc3Point()
           
protected CircularArc3Point(int elementClass, int elementID, int version)
           
  CircularArc3Point(Point2D ps, Point2D pi, Point2D pe)
           
 
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 writeArcSpec(CGMWriter cgm)
           
 
Methods inherited from class org.freehep.graphicsio.cgm.CGMTag
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

ps

protected Point2D ps

pi

protected Point2D pi

pe

protected Point2D pe
Constructor Detail

CircularArc3Point

public CircularArc3Point()

CircularArc3Point

public CircularArc3Point(Point2D ps,
                         Point2D pi,
                         Point2D pe)

CircularArc3Point

protected CircularArc3Point(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 CGMTag
Parameters:
tagID - id of the tag
cgm - Binary CGM output stream
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.

Specified by:
write in class CGMTag
Parameters:
tagID - id of the tag
cgm - Clear Text CGM Writer
IOException

writeArcSpec

protected void writeArcSpec(CGMWriter cgm)
                     throws IOException
IOException

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.