Uses of Interface
org.apache.commons.geometry.io.core.GeometryFormat
Packages that use GeometryFormat
Package
Description
This package contains the core interfaces and classes for commons-geometry
IO functionality.
This package contains the core interfaces and classes providing IO
functionality for Euclidean 3D space.
This package contains types for reading and writing the
OBJ
geometric data file format.
This package contains types for reading and writing the
STL
geometric data file format.
This package contains types for working with simple text-based 3D geometric
data formats, including CSV and simple text files.
-
Uses of GeometryFormat in org.apache.commons.geometry.io.core
Methods in org.apache.commons.geometry.io.core that return GeometryFormatModifier and TypeMethodDescriptionBoundaryReadHandler.getFormat()
Get thedata format
supported by this handler.BoundaryWriteHandler.getFormat()
Get thedata format
supported by this handler.Methods in org.apache.commons.geometry.io.core that return types with arguments of type GeometryFormatModifier and TypeMethodDescriptionBoundaryIOManager.getReadFormats()
Get the list of formats supported by the currently registeredread handlers
.BoundaryIOManager.getWriteFormats()
Get the list of formats supported by the currently registeredwrite handlers
.Methods in org.apache.commons.geometry.io.core with parameters of type GeometryFormatModifier and TypeMethodDescriptionBoundaryIOManager.boundaries
(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aStream
providing access to all boundaries from the given input.BoundaryIOManager.HandlerRegistry.getByFormat
(GeometryFormat fmt) Get the first handler registered for the given format, or null if not found.BoundaryIOManager.getReadHandlerForFormat
(GeometryFormat fmt) Get theread handler
for the given format or null if no such handler has been registered.BoundaryIOManager.getWriteHandlerForFormat
(GeometryFormat fmt) Get thewrite handler
for the given format or null if no such handler has been registered.BoundaryIOManager.read
(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aBoundarySource
containing all boundaries from the given input.void
BoundaryIOManager.HandlerRegistry.register
(GeometryFormat fmt, T handler) Register a handler for the givenformat
.BoundaryIOManager.HandlerRegistry.requireHandlerByFormatOrFileName
(GeometryFormat fmt, String fileName) Get the handler for the given format or file extension, throwing an exception if one cannot be found.protected R
BoundaryIOManager.requireReadHandler
(GeometryInput in, GeometryFormat fmt) Get theread handler
matching the arguments, throwing an exception on failure.protected W
BoundaryIOManager.requireWriteHandler
(GeometryOutput out, GeometryFormat fmt) Get thewrite handler
matching the arguments, throwing an exception on failure.BoundaryIOManager.HandlerRegistry.unregisterFormat
(GeometryFormat fmt) Unregister the current handler for the given format and return it.void
BoundaryIOManager.write
(B src, GeometryOutput out, GeometryFormat fmt) Write all boundaries fromsrc
to the given output. -
Uses of GeometryFormat in org.apache.commons.geometry.io.euclidean.threed
Classes in org.apache.commons.geometry.io.euclidean.threed that implement GeometryFormatModifier and TypeClassDescriptionenum
Enum containing 3D geometry formats supported internally by Apache Commons Geometry.Methods in org.apache.commons.geometry.io.euclidean.threed with parameters of type GeometryFormatModifier and TypeMethodDescriptionstatic Stream
<PlaneConvexSubset> IO3D.boundaries
(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aStream
providing access to all boundaries from the given input.BoundaryIOManager3D.facetDefinitionReader
(GeometryInput in, GeometryFormat fmt) Get aFacetDefinitionReader
for reading facet information from the given input.static FacetDefinitionReader
IO3D.facetDefinitionReader
(GeometryInput in, GeometryFormat fmt) Get aFacetDefinitionReader
for reading facet information from the given input.BoundaryIOManager3D.facets
(GeometryInput in, GeometryFormat fmt) Return aStream
providing access to all facets from the given input.static Stream
<FacetDefinition> IO3D.facets
(GeometryInput in, GeometryFormat fmt) Return aStream
providing access to all facets from the given input.static BoundarySource3D
IO3D.read
(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aBoundarySource3D
containing all boundaries from the given input.BoundaryIOManager3D.readTriangleMesh
(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aTriangleMesh
containing all triangles from the given input.static TriangleMesh
IO3D.readTriangleMesh
(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aTriangleMesh
containing all triangles from the given input.BoundaryIOManager3D.triangles
(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aStream
providing access to all triangles from the given input.static Stream
<Triangle3D> IO3D.triangles
(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aStream
providing access to all triangles from the given input.void
BoundaryIOManager3D.write
(Stream<? extends PlaneConvexSubset> boundaries, GeometryOutput out, GeometryFormat fmt) Write all boundaries in the stream to the output.static void
IO3D.write
(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
BoundaryIOManager3D.writeFacets
(Collection<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt) Write the given facets to the output.void
BoundaryIOManager3D.writeFacets
(Stream<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt) Write all facet in the stream to the output.static void
IO3D.writeFacets
(Collection<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt) Write the given collection of facets to the output.static void
IO3D.writeFacets
(Stream<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt) Write all facets in the stream to the output. -
Uses of GeometryFormat in org.apache.commons.geometry.io.euclidean.threed.obj
Methods in org.apache.commons.geometry.io.euclidean.threed.obj that return GeometryFormatModifier and TypeMethodDescriptionObjBoundaryReadHandler3D.getFormat()
Get thedata format
supported by this handler.ObjBoundaryWriteHandler3D.getFormat()
Get thedata format
supported by this handler. -
Uses of GeometryFormat in org.apache.commons.geometry.io.euclidean.threed.stl
Methods in org.apache.commons.geometry.io.euclidean.threed.stl that return GeometryFormatModifier and TypeMethodDescriptionStlBoundaryReadHandler3D.getFormat()
Get thedata format
supported by this handler.StlBoundaryWriteHandler3D.getFormat()
Get thedata format
supported by this handler. -
Uses of GeometryFormat in org.apache.commons.geometry.io.euclidean.threed.txt
Methods in org.apache.commons.geometry.io.euclidean.threed.txt that return GeometryFormatModifier and TypeMethodDescriptionCsvBoundaryReadHandler3D.getFormat()
Get thedata format
supported by this handler.CsvBoundaryWriteHandler3D.getFormat()
Get thedata format
supported by this handler.TextBoundaryReadHandler3D.getFormat()
Get thedata format
supported by this handler.TextBoundaryWriteHandler3D.getFormat()
Get thedata format
supported by this handler.