Uses of Interface
org.apache.commons.geometry.io.core.GeometryFormat
-
Packages that use GeometryFormat 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.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 GeometryFormat in org.apache.commons.geometry.io.core
Methods in org.apache.commons.geometry.io.core that return GeometryFormat Modifier and Type Method Description GeometryFormat
BoundaryReadHandler. getFormat()
Get thedata format
supported by this handler.GeometryFormat
BoundaryWriteHandler. getFormat()
Get thedata format
supported by this handler.Methods in org.apache.commons.geometry.io.core that return types with arguments of type GeometryFormat Modifier and Type Method Description java.util.List<GeometryFormat>
BoundaryIOManager. getReadFormats()
Get the list of formats supported by the currently registeredread handlers
.java.util.List<GeometryFormat>
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 GeometryFormat Modifier and Type Method Description java.util.stream.Stream<H>
BoundaryIOManager. boundaries(GeometryInput in, GeometryFormat fmt, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return aStream
providing access to all boundaries from the given input.T
BoundaryIOManager.HandlerRegistry. getByFormat(GeometryFormat fmt)
Get the first handler registered for the given format, or null if not found.R
BoundaryIOManager. getReadHandlerForFormat(GeometryFormat fmt)
Get theread handler
for the given format or null if no such handler has been registered.W
BoundaryIOManager. getWriteHandlerForFormat(GeometryFormat fmt)
Get thewrite handler
for the given format or null if no such handler has been registered.B
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
.T
BoundaryIOManager.HandlerRegistry. requireHandlerByFormatOrFileName(GeometryFormat fmt, java.lang.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.T
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 GeometryFormat Modifier and Type Class Description class
GeometryFormat3D
Enum containing 3D geometry formats supported internally by Apache Commons Geometry.Methods in org.apache.commons.geometry.io.euclidean.threed with parameters of type GeometryFormat Modifier and Type Method Description static java.util.stream.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.FacetDefinitionReader
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.java.util.stream.Stream<FacetDefinition>
BoundaryIOManager3D. facets(GeometryInput in, GeometryFormat fmt)
Return aStream
providing access to all facets from the given input.static java.util.stream.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.TriangleMesh
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.java.util.stream.Stream<Triangle3D>
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 java.util.stream.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(java.util.stream.Stream<? extends PlaneConvexSubset> boundaries, GeometryOutput out, GeometryFormat fmt)
Write all boundaries in the stream to the output.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
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.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 GeometryFormat in org.apache.commons.geometry.io.euclidean.threed.obj
Methods in org.apache.commons.geometry.io.euclidean.threed.obj that return GeometryFormat Modifier and Type Method Description GeometryFormat
ObjBoundaryReadHandler3D. getFormat()
Get thedata format
supported by this handler.GeometryFormat
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 GeometryFormat Modifier and Type Method Description GeometryFormat
StlBoundaryReadHandler3D. getFormat()
Get thedata format
supported by this handler.GeometryFormat
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 GeometryFormat Modifier and Type Method Description GeometryFormat
CsvBoundaryReadHandler3D. getFormat()
Get thedata format
supported by this handler.GeometryFormat
CsvBoundaryWriteHandler3D. getFormat()
Get thedata format
supported by this handler.GeometryFormat
TextBoundaryReadHandler3D. getFormat()
Get thedata format
supported by this handler.GeometryFormat
TextBoundaryWriteHandler3D. getFormat()
Get thedata format
supported by this handler.
-