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 TypeMethodDescriptionvoidwrite(BoundarySource3D src, GeometryOutput out) Write all boundaries fromsrcto the given output, using the data format for the instance.voidwriteFacets(Collection<? extends FacetDefinition> facets, GeometryOutput out) Write allfacetsin 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, waitMethods inherited from interface org.apache.commons.geometry.io.core.BoundaryWriteHandler
getFormatMethods inherited from interface org.apache.commons.geometry.io.euclidean.threed.BoundaryWriteHandler3D
write, writeFacets
-
Constructor Details
-
AbstractBoundaryWriteHandler3D
public AbstractBoundaryWriteHandler3D()
-
-
Method Details
-
write
Write all boundaries fromsrcto the given output, using the data format for the instance.- Specified by:
writein interfaceBoundaryWriteHandler<PlaneConvexSubset,BoundarySource3D> - Parameters:
src- boundary sourceout- output to write to
-
writeFacets
Write allfacetsin the collection to the output using the data format supported by this instance.- Specified by:
writeFacetsin interfaceBoundaryWriteHandler3D- Parameters:
facets- facets to writeout- output to write to
-