Open CASCADE Technology 7.8.2.dev
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.
 
bool ReadVec3 (const char *thePos, char *&theNext, gp_XYZ &theVec)
 Read 3 double values.
 
bool ReadName (const char *thePos, TCollection_AsciiString &theName)
 Read string.
 
bool isSpaceChar (const char theChar)
 Return true if specified char is a white space.
 

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,
gp_XYZ & theVec )
inline

Read 3 double values.

◆ ReadVec3() [2/2]

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

Read 3 float values.