FreeHEP API
Version v1.1

org.freehep.graphicsio.cgm
Class PolygonSet

java.lang.Object
  |
  +--org.freehep.util.io.Tag
        |
        +--org.freehep.graphicsio.cgm.CGMTag
              |
              +--org.freehep.graphicsio.cgm.PolygonSet

public class PolygonSet
extends CGMTag

PolygonSet TAG.

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

Field Summary
static int CLOSE_INVISIBLE
           
static int CLOSE_VISIBLE
           
static int INVISIBLE
           
static int VISIBLE
           
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Constructor Summary
PolygonSet()
           
PolygonSet(Point2D[] p, int[] flags)
           
 
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.
 
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

INVISIBLE

public static final int INVISIBLE
See Also:
Constant Field Values

VISIBLE

public static final int VISIBLE
See Also:
Constant Field Values

CLOSE_INVISIBLE

public static final int CLOSE_INVISIBLE
See Also:
Constant Field Values

CLOSE_VISIBLE

public static final int CLOSE_VISIBLE
See Also:
Constant Field Values
Constructor Detail

PolygonSet

public PolygonSet()

PolygonSet

public PolygonSet(Point2D[] p,
                  int[] flags)
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

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.