Interface BoundaryWriteHandler3D

    • Method Detail

      • write

        void write​(java.util.stream.Stream<? extends PlaneConvexSubset> boundaries,
                   GeometryOutput out)
        Write all boundaries in the stream to the given output using the data format supported by this instance. The stream passed as an argument is not closed, meaning that callers are responsible for closing the stream if necessary (for example, if the stream fetches data from the file system).
        Parameters:
        boundaries - stream containing boundaries to write
        out - output to write to
        Throws:
        java.io.UncheckedIOException - if an I/O error occurs
      • writeFacets

        void writeFacets​(java.util.Collection<? extends FacetDefinition> facets,
                         GeometryOutput out)
        Write all facets in the collection to the output using the data format supported by this instance.
        Parameters:
        facets - facets to write
        out - output to write to
        Throws:
        java.io.UncheckedIOException - if an I/O error occurs
      • writeFacets

        void writeFacets​(java.util.stream.Stream<? extends FacetDefinition> facets,
                         GeometryOutput out)
        Write all facets in the stream to the output using the data format supported by this instance. The stream passed as an argument is not closed, meaning that callers are responsible for closing the stream if necessary (for example, if the stream fetches data from the file system).
        Parameters:
        facets - stream containing facets to write
        out - output to write to
        Throws:
        java.io.UncheckedIOException - if an I/O error occurs