public class StlBoundaryReadHandler3D extends AbstractBoundaryReadHandler3D
BoundaryReadHandler3D
implementation for reading STL data. Text input is read using the UTF-8 charset by default.Constructor and Description |
---|
StlBoundaryReadHandler3D() |
Modifier and Type | Method and Description |
---|---|
FacetDefinitionReader |
facetDefinitionReader(GeometryInput in)
Return a
FacetDefinitionReader for reading raw
facets from the given
input stream. |
Charset |
getDefaultCharset()
Get the input default charset, used if text input does not
specify a charset.
|
GeometryFormat |
getFormat() |
void |
setDefaultCharset(Charset charset)
Set the input default charset, used if text input does not
specify a charset.
|
boundaries, facets, read, readTriangleMesh
public StlBoundaryReadHandler3D()
public GeometryFormat getFormat()
public Charset getDefaultCharset()
public void setDefaultCharset(Charset charset)
charset
- text input default charsetpublic FacetDefinitionReader facetDefinitionReader(GeometryInput in)
FacetDefinitionReader
for reading raw
facets
from the given
input stream.in
- input stream to read fromCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.