Class AbstractBoundaryWriteHandler3D
java.lang.Object
org.apache.commons.geometry.io.euclidean.threed.AbstractBoundaryWriteHandler3D
- All Implemented Interfaces:
BoundaryWriteHandler<PlaneConvexSubset,
,BoundarySource3D> BoundaryWriteHandler3D
- Direct Known Subclasses:
AbstractTextBoundaryWriteHandler3D
,ObjBoundaryWriteHandler3D
,StlBoundaryWriteHandler3D
public abstract class AbstractBoundaryWriteHandler3D
extends Object
implements BoundaryWriteHandler3D
Abstract base class for
BoundaryWriteHandler3D
implementations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(BoundarySource3D src, GeometryOutput out) Write all boundaries fromsrc
to the given output, using the data format for the instance.void
writeFacets
(Collection<? extends FacetDefinition> facets, GeometryOutput out) Write allfacets
in the collection to the output using the data format supported by this instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.commons.geometry.io.core.BoundaryWriteHandler
getFormat
Methods inherited from interface org.apache.commons.geometry.io.euclidean.threed.BoundaryWriteHandler3D
write, writeFacets
-
Constructor Details
-
AbstractBoundaryWriteHandler3D
public AbstractBoundaryWriteHandler3D()
-
-
Method Details
-
write
Write all boundaries fromsrc
to the given output, using the data format for the instance.- Specified by:
write
in interfaceBoundaryWriteHandler<PlaneConvexSubset,
BoundarySource3D> - Parameters:
src
- boundary sourceout
- output to write to
-
writeFacets
Write allfacets
in the collection to the output using the data format supported by this instance.- Specified by:
writeFacets
in interfaceBoundaryWriteHandler3D
- Parameters:
facets
- facets to writeout
- output to write to
-