Interface BoundaryWriteHandler<H extends HyperplaneConvexSubset<?>,B extends BoundarySource<H>>
- Type Parameters:
H
- Geometric boundary typeB
- 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 TypeMethodDescriptionGet thedata format
supported by this handler.void
write
(B src, GeometryOutput out) Write all boundaries fromsrc
to the given output, using the data format for the instance.
-
Method Details
-
getFormat
GeometryFormat getFormat()Get thedata format
supported by this handler.- Returns:
- data format supported by this handler
-
write
Write all boundaries fromsrc
to the given output, using the data format for the instance.- Parameters:
src
- boundary sourceout
- output to write to- Throws:
UncheckedIOException
- if an I/O error occurs
-