Uses of Interface
org.apache.commons.geometry.io.euclidean.threed.FacetDefinition
Packages that use FacetDefinition
Package
Description
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 FacetDefinition in org.apache.commons.geometry.io.euclidean.threed
Classes in org.apache.commons.geometry.io.euclidean.threed that implement FacetDefinitionModifier and TypeClassDescriptionclass
SimpleFacetDefinition
implementation that stores a list of vertices and optional normal.Fields in org.apache.commons.geometry.io.euclidean.threed declared as FacetDefinitionModifier and TypeFieldDescriptionprivate FacetDefinition
AbstractBoundaryReadHandler3D.FacetDefinitionReaderIterator.next
Next facet to return from the instance; may be null.Methods in org.apache.commons.geometry.io.euclidean.threed that return FacetDefinitionModifier and TypeMethodDescriptionAbstractBoundaryReadHandler3D.FacetDefinitionReaderIterator.next()
FacetDefinitionReader.readFacet()
Return the next facet definition from the input source or null if no more facets are available.Methods in org.apache.commons.geometry.io.euclidean.threed that return types with arguments of type FacetDefinitionModifier and TypeMethodDescriptionAbstractBoundaryReadHandler3D.facets
(GeometryInput in) Return aStream
that can be used to access all facet information from the given input stream.BoundaryIOManager3D.facets
(GeometryInput in, GeometryFormat fmt) Return aStream
providing access to all facets from the given input.BoundaryReadHandler3D.facets
(GeometryInput in) Return aStream
that can be used to access all facet information from the given input stream.static Stream
<FacetDefinition> Return aStream
providing access to all facets from the given URL.static Stream
<FacetDefinition> Return aStream
providing access to all facets from the given file path.static Stream
<FacetDefinition> IO3D.facets
(GeometryInput in, GeometryFormat fmt) Return aStream
providing access to all facets from the given input.Methods in org.apache.commons.geometry.io.euclidean.threed with parameters of type FacetDefinitionModifier and TypeMethodDescriptionstatic ConvexPolygon3D
FacetDefinitions.toPolygon
(FacetDefinition facet, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Construct aConvexPolygon3D
from the vertices of the given facet.Method parameters in org.apache.commons.geometry.io.euclidean.threed with type arguments of type FacetDefinitionModifier and TypeMethodDescriptionvoid
AbstractBoundaryWriteHandler3D.writeFacets
(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
(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.void
BoundaryWriteHandler3D.writeFacets
(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
(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
(Collection<? extends FacetDefinition> facets, Path path) Write the given facets to the file path.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, Path path) Write all facets in the stream to the file path.static void
IO3D.writeFacets
(Stream<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt) Write all facets in the stream to the output. -
Uses of FacetDefinition in org.apache.commons.geometry.io.euclidean.threed.obj
Methods in org.apache.commons.geometry.io.euclidean.threed.obj that return FacetDefinitionModifier and TypeMethodDescriptionObjFacetDefinitionReader.readFacet()
Return the next facet definition from the input source or null if no more facets are available.Methods in org.apache.commons.geometry.io.euclidean.threed.obj with parameters of type FacetDefinitionModifier and TypeMethodDescriptionvoid
ObjWriter.MeshBuffer.add
(FacetDefinition facet) Add a facet to this buffer.Method parameters in org.apache.commons.geometry.io.euclidean.threed.obj with type arguments of type FacetDefinitionModifier and TypeMethodDescriptionvoid
ObjBoundaryWriteHandler3D.writeFacets
(Stream<? extends FacetDefinition> facets, GeometryOutput out) Write allfacets
in the stream to the output using the data format supported by this instance. -
Uses of FacetDefinition in org.apache.commons.geometry.io.euclidean.threed.stl
Classes in org.apache.commons.geometry.io.euclidean.threed.stl that implement FacetDefinitionModifier and TypeClassDescriptionclass
Facet definition class that provides access to the 2-byte attribute value stored with each triangle in the binary STL format.Methods in org.apache.commons.geometry.io.euclidean.threed.stl that return FacetDefinitionModifier and TypeMethodDescriptionTextStlFacetDefinitionReader.readFacet()
Return the next facet definition from the input source or null if no more facets are available.private FacetDefinition
TextStlFacetDefinitionReader.readFacetInternal()
Internal method to read a single facet from the STL content.Methods in org.apache.commons.geometry.io.euclidean.threed.stl with parameters of type FacetDefinitionModifier and TypeMethodDescriptionprivate int
StlBoundaryWriteHandler3D.getFacetAttributeValue
(FacetDefinition facet) Get the attribute value that should be used for the given facet.void
TextStlWriter.writeTriangles
(FacetDefinition facet) Write the given facet definition to the output as triangles.Method parameters in org.apache.commons.geometry.io.euclidean.threed.stl with type arguments of type FacetDefinitionModifier and TypeMethodDescriptionvoid
StlBoundaryWriteHandler3D.writeFacets
(Stream<? extends FacetDefinition> facets, GeometryOutput out) Write allfacets
in the stream to the output using the data format supported by this instance. -
Uses of FacetDefinition in org.apache.commons.geometry.io.euclidean.threed.txt
Methods in org.apache.commons.geometry.io.euclidean.threed.txt that return FacetDefinitionModifier and TypeMethodDescriptionTextFacetDefinitionReader.readFacet()
Return the next facet definition from the input source or null if no more facets are available.private FacetDefinition
TextFacetDefinitionReader.readFacetInternal()
Internal method to read a facet definition starting from the current parser position.Methods in org.apache.commons.geometry.io.euclidean.threed.txt with parameters of type FacetDefinitionModifier and TypeMethodDescriptionvoid
TextFacetDefinitionWriter.write
(FacetDefinition facet) Write the vertices in the argument to the output.Method parameters in org.apache.commons.geometry.io.euclidean.threed.txt with type arguments of type FacetDefinitionModifier and TypeMethodDescriptionvoid
AbstractTextBoundaryWriteHandler3D.writeFacets
(Stream<? extends FacetDefinition> facets, GeometryOutput out) Write allfacets
in the stream to the output using the data format supported by this instance.