mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0032055: Draw Harness, ViewerTest - add more vmanipulator position adjusting options
Draw::ParseOnOffIterator() - added auxiliary wrapper over Draw::ParseOnOff() for more compact syntax. strncasecmp() definition for msvc compilers has been moved to Standard_CString for consistency with strcasecmp(). vmanipulator command has been refactored to use more straightforward parser. vmanipulator now accepts "-adjustPosition {0|center|location|shapeLocation}" options adjusting position to object's AABB center (existed before), object's local transformation or TopoDS_Shape location.
This commit is contained in:
@@ -24,9 +24,14 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
# if defined(_MSC_VER) && ! defined(strcasecmp)
|
||||
# define strcasecmp _stricmp
|
||||
# endif
|
||||
#if defined(_MSC_VER)
|
||||
#if !defined(strcasecmp)
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
#if !defined(strncasecmp)
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// C++ only definitions
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user