commit
c50b699992
@ -8,7 +8,7 @@
|
|||||||
# correspond to the ./configure --prefix=$OPENCASCADE_DIR
|
# correspond to the ./configure --prefix=$OPENCASCADE_DIR
|
||||||
# used in building OPENCASCADE.
|
# used in building OPENCASCADE.
|
||||||
|
|
||||||
FIND_PATH(OPENCASCADE_INCLUDE_DIR BRepMesh.hxx
|
FIND_PATH(OPENCASCADE_INCLUDE_DIR Standard_Version.hxx
|
||||||
PATHS
|
PATHS
|
||||||
${OPENCASCADE_DIR}
|
${OPENCASCADE_DIR}
|
||||||
$ENV{OPENCASCADE_DIR}
|
$ENV{OPENCASCADE_DIR}
|
||||||
|
@ -292,7 +292,7 @@ osg::ref_ptr<osg::Geode> ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c
|
|||||||
/// transfer data from reader to doc
|
/// transfer data from reader to doc
|
||||||
if(!reader.Transfer(doc))
|
if(!reader.Transfer(doc))
|
||||||
{
|
{
|
||||||
cout << "Cannot read any relevant data from the STEP file" << endl;
|
std::cout << "Cannot read any relevant data from the STEP file" << std::endl;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -309,7 +309,7 @@ osg::ref_ptr<osg::Geode> ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c
|
|||||||
/// transfer data from reader to doc
|
/// transfer data from reader to doc
|
||||||
if(!reader.Transfer(doc))
|
if(!reader.Transfer(doc))
|
||||||
{
|
{
|
||||||
cout << "Cannot read any relevant data from the IGES file" << endl;
|
std::cout << "Cannot read any relevant data from the IGES file" << std::endl;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -327,7 +327,7 @@ osg::ref_ptr<osg::Geode> ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c
|
|||||||
|
|
||||||
if(freeShapes.Length() == 0)
|
if(freeShapes.Length() == 0)
|
||||||
{
|
{
|
||||||
std::cout << "No Shapes found" << endl;
|
std::cout << "No Shapes found" << std::endl;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user