public class ObjFacetDefinitionReader extends AbstractObjPolygonReader implements FacetDefinitionReader
facets
from OBJ content.Constructor and Description |
---|
ObjFacetDefinitionReader(Reader reader)
Construct a new instance that reads OBJ content from the given reader.
|
Modifier and Type | Method and Description |
---|---|
protected void |
handleNormal(Vector3D normal)
Method called when a normal is found in the OBJ content.
|
protected void |
handleVertex(Vector3D vertex)
Method called when a vertex is found in the OBJ content.
|
FacetDefinition |
readFacet()
Return the next facet definition from the input source or null if no more
facets are available.
|
close, isFailOnNonPolygonKeywords, readFace, setFailOnNonPolygonKeywords
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public ObjFacetDefinitionReader(Reader reader)
reader
- reader to read frompublic FacetDefinition readFacet()
readFacet
in interface FacetDefinitionReader
protected void handleVertex(Vector3D vertex)
handleVertex
in class AbstractObjPolygonReader
vertex
- vertex valueprotected void handleNormal(Vector3D normal)
handleNormal
in class AbstractObjPolygonReader
normal
- normal valueCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.