| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SimpleFacetDefinitionSimple  FacetDefinitionimplementation that stores a list of vertices and
 optional normal. | 
| Modifier and Type | Method and Description | 
|---|---|
| FacetDefinition | FacetDefinitionReader. readFacet()Return the next facet definition from the input source or null if no more
 facets are available. | 
| Modifier and Type | Method and Description | 
|---|---|
| Stream<FacetDefinition> | AbstractBoundaryReadHandler3D. facets(GeometryInput in)Return a  Streamthat can be used to access all facet information from the given input stream. | 
| Stream<FacetDefinition> | BoundaryReadHandler3D. facets(GeometryInput in)Return a  Streamthat can be used to access all facet information from the given input stream. | 
| Stream<FacetDefinition> | BoundaryIOManager3D. facets(GeometryInput in,
      GeometryFormat fmt)Return a  Streamproviding access to all facets from the given input. | 
| static Stream<FacetDefinition> | IO3D. facets(GeometryInput in,
      GeometryFormat fmt)Return a  Streamproviding access to all facets from the given input. | 
| static Stream<FacetDefinition> | IO3D. facets(Path path)Return a  Streamproviding access to all facets from the given file path. | 
| static Stream<FacetDefinition> | IO3D. facets(URL url)Return a  Streamproviding access to all facets from the given URL. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ConvexPolygon3D | FacetDefinitions. toPolygon(FacetDefinition facet,
         Precision.DoubleEquivalence precision)Construct a  ConvexPolygon3Dfrom the vertices of the given facet. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractBoundaryWriteHandler3D. writeFacets(Collection<? extends FacetDefinition> facets,
           GeometryOutput out)Write all  facetsin the collection to the output using the data format
 supported by this instance. | 
| void | BoundaryWriteHandler3D. writeFacets(Collection<? extends FacetDefinition> facets,
           GeometryOutput out)Write all  facetsin 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. | 
| 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(Collection<? extends FacetDefinition> facets,
           Path path)Write the given facets to the file path. | 
| void | BoundaryWriteHandler3D. writeFacets(Stream<? extends FacetDefinition> facets,
           GeometryOutput out)Write all  facetsin the stream to the output using the data format
 supported by this instance. | 
| void | BoundaryIOManager3D. writeFacets(Stream<? extends FacetDefinition> facets,
           GeometryOutput out,
           GeometryFormat fmt)Write all facet in the stream to the output. | 
| static void | IO3D. writeFacets(Stream<? extends FacetDefinition> facets,
           GeometryOutput out,
           GeometryFormat fmt)Write all facets in the stream to the output. | 
| static void | IO3D. writeFacets(Stream<? extends FacetDefinition> facets,
           Path path)Write all facets in the stream to the file path. | 
| Modifier and Type | Method and Description | 
|---|---|
| FacetDefinition | ObjFacetDefinitionReader. readFacet()Return the next facet definition from the input source or null if no more
 facets are available. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ObjWriter.MeshBuffer. add(FacetDefinition facet)Add a facet to this buffer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ObjBoundaryWriteHandler3D. writeFacets(Stream<? extends FacetDefinition> facets,
           GeometryOutput out)Write all  facetsin the stream to the output using the data format
 supported by this instance. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BinaryStlFacetDefinitionFacet definition class that provides access to the 2-byte attribute value
 stored with each triangle in the binary STL format. | 
| Modifier and Type | Method and Description | 
|---|---|
| FacetDefinition | TextStlFacetDefinitionReader. readFacet()Return the next facet definition from the input source or null if no more
 facets are available. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TextStlWriter. writeTriangles(FacetDefinition facet)Write the given facet definition to the output as triangles. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | StlBoundaryWriteHandler3D. writeFacets(Stream<? extends FacetDefinition> facets,
           GeometryOutput out)Write all  facetsin the stream to the output using the data format
 supported by this instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| FacetDefinition | TextFacetDefinitionReader. readFacet()Return the next facet definition from the input source or null if no more
 facets are available. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TextFacetDefinitionWriter. write(FacetDefinition facet)Write the vertices in the argument to the output. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractTextBoundaryWriteHandler3D. writeFacets(Stream<? extends FacetDefinition> facets,
           GeometryOutput out)Write all  facetsin the stream to the output using the data format
 supported by this instance. | 
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.