A GeometryCompressor takes a stream of geometric elements and
quantization parameters (the CompressionStream object) and
compresses it into a stream of commands as defined by appendix B
of the Java 3D specification. The resulting data may be output
in the form of a CompressedGeometry node component or appended
to a CompressedGeometryFile.
See Also:CompressionStream See Also:CompressedGeometry See Also:CompressedGeometryFilecom.sun.j3d.utils.geometry.compression.GeometryCompressor
Compress a stream into a CompressedGeometry node component.
Parameters: stream - CompressionStream containing the geometry to be compressed a CompressedGeometry node component
Compress a stream and append the output to a CompressedGeometryFile.
The resource remains open for subsequent updates; its close() method
must be called to create a valid compressed geometry resource file.
Parameters: stream - CompressionStream containing the geometry to be compressed Parameters: f - a currently open CompressedGeometryFile with write access exception: IOException - if write fails