public class TextStlFacetDefinitionReader extends Object implements FacetDefinitionReader
FacetDefinitionReader for reading the text (i.e., "ASCII") version of the STL file format.| Constructor and Description |
|---|
TextStlFacetDefinitionReader(Reader reader)
Construct a new instance for reading text STL content from the given reader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this instance and release all associated resources.
|
String |
getSolidName()
Get the name of the STL solid being read or null if no name was specified.
|
FacetDefinition |
readFacet()
Return the next facet definition from the input source or null if no more
facets are available.
|
public TextStlFacetDefinitionReader(Reader reader)
reader - reader to read characters frompublic String getSolidName()
IllegalStateException - if a data format error occursUncheckedIOException - if an I/O error occurspublic FacetDefinition readFacet()
readFacet in interface FacetDefinitionReaderpublic void close()
close in interface AutoCloseableclose in interface FacetDefinitionReaderCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.