Uses of Interface
org.apache.commons.geometry.io.euclidean.threed.FacetDefinition
-
Packages that use FacetDefinition Package Description 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 FacetDefinition in org.apache.commons.geometry.io.euclidean.threed
Classes in org.apache.commons.geometry.io.euclidean.threed that implement FacetDefinition Modifier and Type Class Description class
SimpleFacetDefinition
SimpleFacetDefinition
implementation that stores a list of vertices and optional normal.Fields in org.apache.commons.geometry.io.euclidean.threed declared as FacetDefinition Modifier and Type Field Description private 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 FacetDefinition Modifier and Type Method Description FacetDefinition
AbstractBoundaryReadHandler3D.FacetDefinitionReaderIterator. next()
FacetDefinition
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 FacetDefinition Modifier and Type Method Description java.util.stream.Stream<FacetDefinition>
AbstractBoundaryReadHandler3D. facets(GeometryInput in)
Return aStream
that can be used to access all facet information from the given input stream.java.util.stream.Stream<FacetDefinition>
BoundaryIOManager3D. facets(GeometryInput in, GeometryFormat fmt)
Return aStream
providing access to all facets from the given input.java.util.stream.Stream<FacetDefinition>
BoundaryReadHandler3D. facets(GeometryInput in)
Return aStream
that can be used to access all facet information from the given input stream.static java.util.stream.Stream<FacetDefinition>
IO3D. facets(java.net.URL url)
Return aStream
providing access to all facets from the given URL.static java.util.stream.Stream<FacetDefinition>
IO3D. facets(java.nio.file.Path path)
Return aStream
providing access to all facets from the given file path.static java.util.stream.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 FacetDefinition Modifier and Type Method Description static 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 FacetDefinition Modifier and Type Method Description 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, java.nio.file.Path path)
Write the given facets to the file path.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, java.nio.file.Path path)
Write all facets in the stream to the file path.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 FacetDefinition in org.apache.commons.geometry.io.euclidean.threed.obj
Methods in org.apache.commons.geometry.io.euclidean.threed.obj that return FacetDefinition Modifier and Type Method Description FacetDefinition
ObjFacetDefinitionReader. 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 FacetDefinition Modifier and Type Method Description void
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 FacetDefinition Modifier and Type Method Description 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 FacetDefinition in org.apache.commons.geometry.io.euclidean.threed.stl
Classes in org.apache.commons.geometry.io.euclidean.threed.stl that implement FacetDefinition Modifier and Type Class Description class
BinaryStlFacetDefinition
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 FacetDefinition Modifier and Type Method Description FacetDefinition
TextStlFacetDefinitionReader. 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 FacetDefinition Modifier and Type Method Description private 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 FacetDefinition Modifier and Type Method Description 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. -
Uses of FacetDefinition in org.apache.commons.geometry.io.euclidean.threed.txt
Methods in org.apache.commons.geometry.io.euclidean.threed.txt that return FacetDefinition Modifier and Type Method Description FacetDefinition
TextFacetDefinitionReader. 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 FacetDefinition Modifier and Type Method Description void
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 FacetDefinition Modifier and Type Method Description 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.
-