org.freehep.graphicsio.cgm
Class CircularArcCentre
java.lang.Object
|
+--org.freehep.util.io.Tag
|
+--org.freehep.graphicsio.cgm.CGMTag
|
+--org.freehep.graphicsio.cgm.CircularArcCentre
- Direct Known Subclasses:
- CircularArcCentreClose
- public class CircularArcCentre
- extends CGMTag
CircularArcCentre TAG.
- Version:
- $Id: CircularArcCentre.java,v 1.1 2001/11/29 01:45:25 duns Exp $
- Author:
- Mark Donszelmann, Charles Loomis
p
protected Point2D p
dps
protected Point2D dps
dpe
protected Point2D dpe
radius
protected double radius
CircularArcCentre
public CircularArcCentre()
CircularArcCentre
public CircularArcCentre(Point2D p,
Point2D dps,
Point2D dpe,
double radius)
CircularArcCentre
protected CircularArcCentre(int elementClass,
int elementID,
int version)
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 tagcgm
- 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 tagcgm
- Clear Text CGM Writer
IOException
writeArcSpec
protected void writeArcSpec(CGMWriter cgm)
throws IOException
IOException
Copyright © 2000-2003 FreeHEP, All Rights Reserved.