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 classSimpleFacetDefinitionSimpleFacetDefinitionimplementation 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 FacetDefinitionAbstractBoundaryReadHandler3D.FacetDefinitionReaderIterator. nextNext 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 FacetDefinitionAbstractBoundaryReadHandler3D.FacetDefinitionReaderIterator. next()FacetDefinitionFacetDefinitionReader. 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 aStreamthat 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 aStreamproviding access to all facets from the given input.java.util.stream.Stream<FacetDefinition>BoundaryReadHandler3D. facets(GeometryInput in)Return aStreamthat 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 aStreamproviding access to all facets from the given URL.static java.util.stream.Stream<FacetDefinition>IO3D. facets(java.nio.file.Path path)Return aStreamproviding access to all facets from the given file path.static java.util.stream.Stream<FacetDefinition>IO3D. facets(GeometryInput in, GeometryFormat fmt)Return aStreamproviding 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 ConvexPolygon3DFacetDefinitions. toPolygon(FacetDefinition facet, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)Construct aConvexPolygon3Dfrom 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 voidAbstractBoundaryWriteHandler3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out)Write allfacetsin the collection to the output using the data format supported by this instance.voidBoundaryIOManager3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt)Write the given facets to the output.voidBoundaryIOManager3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt)Write all facet in the stream to the output.voidBoundaryWriteHandler3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out)Write allfacetsin the collection to the output using the data format supported by this instance.voidBoundaryWriteHandler3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out)Write allfacetsin the stream to the output using the data format supported by this instance.static voidIO3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, java.nio.file.Path path)Write the given facets to the file path.static voidIO3D. writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out, GeometryFormat fmt)Write the given collection of facets to the output.static voidIO3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, java.nio.file.Path path)Write all facets in the stream to the file path.static voidIO3D. 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 FacetDefinitionObjFacetDefinitionReader. 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 voidObjWriter.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 voidObjBoundaryWriteHandler3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out)Write allfacetsin 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 classBinaryStlFacetDefinitionFacet 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 FacetDefinitionTextStlFacetDefinitionReader. readFacet()Return the next facet definition from the input source or null if no more facets are available.private FacetDefinitionTextStlFacetDefinitionReader. 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 intStlBoundaryWriteHandler3D. getFacetAttributeValue(FacetDefinition facet)Get the attribute value that should be used for the given facet.voidTextStlWriter. 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 voidStlBoundaryWriteHandler3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out)Write allfacetsin 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 FacetDefinitionTextFacetDefinitionReader. readFacet()Return the next facet definition from the input source or null if no more facets are available.private FacetDefinitionTextFacetDefinitionReader. 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 voidTextFacetDefinitionWriter. 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 voidAbstractTextBoundaryWriteHandler3D. writeFacets(java.util.stream.Stream<? extends FacetDefinition> facets, GeometryOutput out)Write allfacetsin the stream to the output using the data format supported by this instance.
-