Uses of Interface
org.apache.commons.geometry.io.core.output.GeometryOutput
-
Packages that use GeometryOutput Package Description org.apache.commons.geometry.io.core This package contains the core interfaces and classes for commons-geometry IO functionality.org.apache.commons.geometry.io.core.internal This package contains IO utilities intended for internal use only.org.apache.commons.geometry.io.core.output This package contains types representing output targets for IO operations.org.apache.commons.geometry.io.euclidean.threed This package contains the core interfaces and classes providing IO functionality for Euclidean 3D space.org.apache.commons.geometry.io.euclidean.threed.obj This package contains types for reading and writing the OBJ geometric data file format.org.apache.commons.geometry.io.euclidean.threed.stl This package contains types for reading and writing the STL geometric data file format.org.apache.commons.geometry.io.euclidean.threed.txt This package contains types for working with simple text-based 3D geometric data formats, including CSV and simple text files. -
-
Uses of GeometryOutput in org.apache.commons.geometry.io.core
Methods in org.apache.commons.geometry.io.core with parameters of type GeometryOutput Modifier and Type Method Description protected W
BoundaryIOManager. requireWriteHandler(GeometryOutput out, GeometryFormat fmt)
Get thewrite handler
matching the arguments, throwing an exception on failure.void
BoundaryIOManager. write(B src, GeometryOutput out, GeometryFormat fmt)
Write all boundaries fromsrc
to the given output.void
BoundaryWriteHandler. write(B src, GeometryOutput out)
Write all boundaries fromsrc
to the given output, using the data format for the instance. -
Uses of GeometryOutput in org.apache.commons.geometry.io.core.internal
Methods in org.apache.commons.geometry.io.core.internal with parameters of type GeometryOutput Modifier and Type Method Description static java.io.BufferedWriter
GeometryIOUtils. createBufferedWriter(GeometryOutput output, java.nio.charset.Charset defaultCharset)
Create aBufferedWriter
for writing to the given output. -
Uses of GeometryOutput in org.apache.commons.geometry.io.core.output
Classes in org.apache.commons.geometry.io.core.output that implement GeometryOutput Modifier and Type Class Description class
FileGeometryOutput
GeometryOutput
implementation for writing content to a file.class
StreamGeometryOutput
GeometryOutput
implementation that wraps anOutputStream
. -
Uses of GeometryOutput in org.apache.commons.geometry.io.euclidean.threed
Methods in org.apache.commons.geometry.io.euclidean.threed with parameters of type GeometryOutput Modifier and Type Method Description void
AbstractBoundaryWriteHandler3D. write(BoundarySource3D src, GeometryOutput out)
Write all boundaries fromsrc
to the given output, using the data format for the instance.void
BoundaryIOManager3D. write(java.util.stream.Stream<? extends PlaneConvexSubset> boundaries, GeometryOutput out, GeometryFormat fmt)
Write all boundaries in the stream to the output.void
BoundaryWriteHandler3D. write(java.util.stream.Stream<? extends PlaneConvexSubset> boundaries, GeometryOutput out)
Write all boundaries in the stream to the given output using the data format supported by this instance.static void
IO3D. write(java.util.stream.Stream<? extends PlaneConvexSubset> boundaries, GeometryOutput out, GeometryFormat fmt)
Write all boundaries in the stream to the output.static void
IO3D. write(BoundarySource3D src, GeometryOutput out, GeometryFormat fmt)
Write all boundaries fromsrc
to the given output.void
AbstractBoundaryWriteHandler3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out)
Write allfacets
in the collection to the output using the data format supported by this instance.void
BoundaryIOManager3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt)
Write the given facets to the output.void
BoundaryIOManager3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt)
Write all facet in the stream to the output.void
BoundaryWriteHandler3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out)
Write allfacets
in the collection to the output using the data format supported by this instance.void
BoundaryWriteHandler3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out)
Write allfacets
in the stream to the output using the data format supported by this instance.static void
IO3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt)
Write the given collection of facets to the output.static void
IO3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt)
Write all facets in the stream to the output. -
Uses of GeometryOutput in org.apache.commons.geometry.io.euclidean.threed.obj
Methods in org.apache.commons.geometry.io.euclidean.threed.obj with parameters of type GeometryOutput Modifier and Type Method Description private ObjWriter
ObjBoundaryWriteHandler3D. createWriter(GeometryOutput out)
Construct a new, configuredObjWriter
instance for writing content to the given output stream.void
ObjBoundaryWriteHandler3D. write(java.util.stream.Stream<? extends PlaneConvexSubset> boundaries, GeometryOutput out)
Write all boundaries in the stream to the given output using the data format supported by this instance.void
ObjBoundaryWriteHandler3D. write(BoundarySource3D src, GeometryOutput out)
Write all boundaries fromsrc
to the given output, using the data format for the instance.void
ObjBoundaryWriteHandler3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out)
Write allfacets
in the stream to the output using the data format supported by this instance. -
Uses of GeometryOutput in org.apache.commons.geometry.io.euclidean.threed.stl
Methods in org.apache.commons.geometry.io.euclidean.threed.stl with parameters of type GeometryOutput Modifier and Type Method Description void
StlBoundaryWriteHandler3D. write(java.util.stream.Stream<? extends PlaneConvexSubset> boundaries, GeometryOutput out)
Write all boundaries in the stream to the given output using the data format supported by this instance.void
StlBoundaryWriteHandler3D. write(BoundarySource3D src, GeometryOutput out)
Write all boundaries fromsrc
to the given output, using the data format for the instance.void
StlBoundaryWriteHandler3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out)
Write allfacets
in the stream to the output using the data format supported by this instance.private void
StlBoundaryWriteHandler3D. writeTriangleMesh(TriangleMesh mesh, GeometryOutput output)
Write all triangles in the given mesh to the output using the binary STL format.private void
StlBoundaryWriteHandler3D. writeWithHeader(java.io.ByteArrayOutputStream triangleBuffer, int count, GeometryOutput out)
Write the given triangle data prefixed with an STL header to the output stream fromout
. -
Uses of GeometryOutput in org.apache.commons.geometry.io.euclidean.threed.txt
Methods in org.apache.commons.geometry.io.euclidean.threed.txt with parameters of type GeometryOutput Modifier and Type Method Description protected TextFacetDefinitionWriter
AbstractTextBoundaryWriteHandler3D. getFacetDefinitionWriter(GeometryOutput out)
Get a configuredTextFacetDefinitionWriter
for writing output.protected TextFacetDefinitionWriter
CsvBoundaryWriteHandler3D. getFacetDefinitionWriter(GeometryOutput out)
Get a configuredTextFacetDefinitionWriter
for writing output.protected TextFacetDefinitionWriter
TextBoundaryWriteHandler3D. getFacetDefinitionWriter(GeometryOutput out)
Get a configuredTextFacetDefinitionWriter
for writing output.void
AbstractTextBoundaryWriteHandler3D. write(java.util.stream.Stream<? extends PlaneConvexSubset> boundaries, GeometryOutput out)
Write all boundaries in the stream to the given output using the data format supported by this instance.void
AbstractTextBoundaryWriteHandler3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out)
Write allfacets
in the stream to the output using the data format supported by this instance.
-