public class ObjBoundaryReadHandler3D extends AbstractBoundaryReadHandler3D
BoundaryReadHandler3D
implementation for reading OBJ data. Input is read using the UTF-8 charset by default.| Constructor and Description |
|---|
ObjBoundaryReadHandler3D() |
| 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 text input default charset, used if the input does not
specify a charset.
|
GeometryFormat |
getFormat() |
TriangleMesh |
readTriangleMesh(GeometryInput in,
Precision.DoubleEquivalence precision)
Read a triangle mesh from the given input.
|
void |
setDefaultCharset(Charset charset)
Set the text input default charset, used if the input does not
specify a charset.
|
boundaries, facets, readpublic 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 frompublic TriangleMesh readTriangleMesh(GeometryInput in, Precision.DoubleEquivalence precision)
readTriangleMesh in interface BoundaryReadHandler3DreadTriangleMesh in class AbstractBoundaryReadHandler3Din - input stream to read fromprecision - precision context used for floating point comparisonsCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.