Class StlBoundaryReadHandler3D
java.lang.Object
org.apache.commons.geometry.io.euclidean.threed.AbstractBoundaryReadHandler3D
org.apache.commons.geometry.io.euclidean.threed.stl.StlBoundaryReadHandler3D
- All Implemented Interfaces:
BoundaryReadHandler<PlaneConvexSubset,
,BoundarySource3D> BoundaryReadHandler3D
BoundaryReadHandler3D
implementation for reading STL data. Text input is read using the UTF-8 charset by default.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn aFacetDefinitionReader
for reading rawfacets
from the given input stream.Get the input default charset, used if text input does not specify a charset.Get thedata format
supported by this handler.void
setDefaultCharset
(Charset charset) Set the input default charset, used if text input does not specify a charset.Methods inherited from class org.apache.commons.geometry.io.euclidean.threed.AbstractBoundaryReadHandler3D
boundaries, facets, read, readTriangleMesh
-
Field Details
-
defaultCharset
Default charset for reading text input.
-
-
Constructor Details
-
StlBoundaryReadHandler3D
public StlBoundaryReadHandler3D()
-
-
Method Details
-
getFormat
Get thedata format
supported by this handler.- Returns:
- data format supported by this handler
-
getDefaultCharset
Get the input default charset, used if text input does not specify a charset.- Returns:
- text input default charset
-
setDefaultCharset
Set the input default charset, used if text input does not specify a charset.- Parameters:
charset
- text input default charset
-
facetDefinitionReader
Return aFacetDefinitionReader
for reading rawfacets
from the given input stream.- Parameters:
in
- input stream to read from- Returns:
- facet definition reader instance
-