Interface BoundaryWriteHandler<H extends HyperplaneConvexSubset<?>,B extends BoundarySource<H>>

Type Parameters:
H - Geometric boundary type
B - Boundary source type
All Known Subinterfaces:
BoundaryWriteHandler3D
All Known Implementing Classes:
AbstractBoundaryWriteHandler3D, AbstractTextBoundaryWriteHandler3D, CsvBoundaryWriteHandler3D, ObjBoundaryWriteHandler3D, StlBoundaryWriteHandler3D, TextBoundaryWriteHandler3D

public interface BoundaryWriteHandler<H extends HyperplaneConvexSubset<?>,B extends BoundarySource<H>>
Basic interface for writing geometric boundary representations (B-reps) in a specific data storage format. This interface is intended primarily for use with BoundaryIOManager.

Implementation note: implementations of this interface must be thread-safe.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the data format supported by this handler.
    void
    write(B src, GeometryOutput out)
    Write all boundaries from src to the given output, using the data format for the instance.
  • Method Details

    • getFormat

      GeometryFormat getFormat()
      Get the data format supported by this handler.
      Returns:
      data format supported by this handler
    • write

      void write(B src, GeometryOutput out)
      Write all boundaries from src to the given output, using the data format for the instance.
      Parameters:
      src - boundary source
      out - output to write to
      Throws:
      UncheckedIOException - if an I/O error occurs