Class TextBoundaryReadHandler3D
java.lang.Object
org.apache.commons.geometry.io.euclidean.threed.AbstractBoundaryReadHandler3D
org.apache.commons.geometry.io.euclidean.threed.txt.TextBoundaryReadHandler3D
- All Implemented Interfaces:
BoundaryReadHandler<PlaneConvexSubset, BoundarySource3D>, BoundaryReadHandler3D
- Direct Known Subclasses:
CsvBoundaryReadHandler3D
BoundaryReadHandler3D
implementation for the non-standard TXT.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn aFacetDefinitionReaderfor reading rawfacetsfrom the given input stream.Get the text input default charset, used if the input does not specify a charset.Get thedata formatsupported by this handler.voidsetDefaultCharset(Charset defaultCharset) Set the text input default charset, used if the input does not specify a charset.Methods inherited from class AbstractBoundaryReadHandler3D
boundaries, facets, read, readTriangleMesh
-
Field Details
-
defaultCharset
Default charset for reading text input.
-
-
Constructor Details
-
TextBoundaryReadHandler3D
public TextBoundaryReadHandler3D()
-
-
Method Details
-
getDefaultCharset
Get the text input default charset, used if the input does not specify a charset.- Returns:
- text input default charset
-
setDefaultCharset
Set the text input default charset, used if the input does not specify a charset.- Parameters:
defaultCharset- text input default charset
-
getFormat
Get thedata formatsupported by this handler.- Returns:
- data format supported by this handler
-
facetDefinitionReader
Return aFacetDefinitionReaderfor reading rawfacetsfrom the given input stream.- Parameters:
in- input stream to read from- Returns:
- facet definition reader instance
-