public class GeometryCompressor extends Object
CompressionStream
,
CompressedGeometryData
,
CompressedGeometryFile
Constructor and Description |
---|
GeometryCompressor() |
Modifier and Type | Method and Description |
---|---|
CompressedGeometryData |
compress(CompressionStream stream)
Compress a stream into a CompressedGeometryData node component.
|
void |
compress(CompressionStream stream,
CompressedGeometryFile f)
Compress a stream and append the output to a CompressedGeometryFile.
|
public CompressedGeometryData compress(CompressionStream stream)
stream
- CompressionStream containing the geometry to be compressedpublic void compress(CompressionStream stream, CompressedGeometryFile f) throws IOException
stream
- CompressionStream containing the geometry to be compressedf
- a currently open CompressedGeometryFile with write accessIOException
- if write failsCopyright © 2016–2022 SciJava. All rights reserved.