mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Windows compatibility
This commit is contained in:
parent
4ca9a3e8ad
commit
a106e4f70b
@ -1601,7 +1601,7 @@ GetCreationInformation(std::string& theOperationName,
|
||||
AddParam( theParams, "Shape", shapes->Value(2) );
|
||||
AddParam( theParams, "Shape type", TopAbs_ShapeEnum( aCI.GetSubShapeType() ));
|
||||
AddParam( theParams, "State" );
|
||||
GEOMAlgo_State st = GEOMAlgo_State( (int) aCI.GetTolerance()+0.1 );
|
||||
GEOMAlgo_State st = GEOMAlgo_State( (int) ( aCI.GetTolerance()+0.1 ) );
|
||||
const char* stName[] = { "UNKNOWN","IN","OUT","ON","ONIN","ONOUT","INOUT" };
|
||||
if ( 0 <= st && st <= GEOMAlgo_ST_INOUT )
|
||||
theParams.back() << stName[ st ];
|
||||
|
Loading…
Reference in New Issue
Block a user