Home Reference Source Repository
import ObjParser from 'dh3dlib/js/obj/ObjParser.js'
public class | source

ObjParser

ObjParser class

Constructor Summary

Public Constructor
public

constructor

Method Summary

Public Methods
public

getTokens(line: *): *

public

parse(data: *): *

public
public

readLine(): *

public

setData(data: *)

public

setModel(obj: *)

public

setParentDirName(dirName: *)

Public Constructors

public constructor source

constructor

Public Methods

public getTokens(line: *): * source

Params:

NameTypeAttributeDescription
line *

Return:

*

public parse(data: *): * source

Params:

NameTypeAttributeDescription
data *

Return:

*

public process(): boolean source

Return:

boolean

public readLine(): * source

Return:

*

public setData(data: *) source

Params:

NameTypeAttributeDescription
data *

public setModel(obj: *) source

Params:

NameTypeAttributeDescription
obj *

public setParentDirName(dirName: *) source

Params:

NameTypeAttributeDescription
dirName *