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 java.lang.Object implements BoundaryWriteHandler3D
Abstract base class forBoundaryWriteHandler3Dimplementations.
-
-
Constructor Summary
Constructors Constructor Description AbstractBoundaryWriteHandler3D()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(BoundarySource3D src, GeometryOutput out)Write all boundaries fromsrcto the given output, using the data format for the instance.voidwriteFacets(java.util.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, 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
-
-
-
-
Method Detail
-
write
public void write(BoundarySource3D src, GeometryOutput out)
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
public void writeFacets(java.util.Collection<? extends FacetDefinition> facets, GeometryOutput out)
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
-
-