Open CASCADE Technology  7.4.0
Functions

RWObj_Tools Namespace Reference

Auxiliary tools for OBJ format parser. More...

Functions

bool ReadVec3 (const char *thePos, char *&theNext, Graphic3d_Vec3 &theVec)
 Read 3 float values. More...
 
bool ReadVec3 (const char *thePos, char *&theNext, gp_XYZ &theVec)
 Read 3 double values. More...
 
bool ReadName (const char *thePos, TCollection_AsciiString &theName)
 Read string. More...
 
bool isSpaceChar (const char theChar)
 Return true if specified char is a white space. More...
 

Detailed Description

Auxiliary tools for OBJ format parser.

Function Documentation

◆ isSpaceChar()

bool RWObj_Tools::isSpaceChar ( const char  theChar)
inline

Return true if specified char is a white space.

◆ ReadName()

bool RWObj_Tools::ReadName ( const char *  thePos,
TCollection_AsciiString theName 
)
inline

Read string.

◆ ReadVec3() [1/2]

bool RWObj_Tools::ReadVec3 ( const char *  thePos,
char *&  theNext,
Graphic3d_Vec3 theVec 
)
inline

Read 3 float values.

◆ ReadVec3() [2/2]

bool RWObj_Tools::ReadVec3 ( const char *  thePos,
char *&  theNext,
gp_XYZ theVec 
)
inline

Read 3 double values.