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 withBoundaryIOManager
.Implementation note: implementations of this interface must be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeometryFormat
getFormat()
Get 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 Detail
-
getFormat
GeometryFormat getFormat()
Get thedata format
supported by this handler.- Returns:
- data format supported by this handler
-
write
void write(B src, GeometryOutput out)
Write all boundaries fromsrc
to the given output, using the data format for the instance.- Parameters:
src
- boundary sourceout
- output to write to- Throws:
java.io.UncheckedIOException
- if an I/O error occurs
-
-