mirror of https://github.com/CGAL/cgal
minor changes to make it work with sunPro
This commit is contained in:
parent
979e397b26
commit
fa036c04cf
|
|
@ -78,7 +78,7 @@ void Scene::draw() {
|
|||
void Scene::load_points(const QString& fileName) {
|
||||
p3dt.clear();
|
||||
std::vector<Point> points;
|
||||
std::ifstream ifs(fileName.toAscii() );
|
||||
std::ifstream ifs(fileName.toAscii().data() );
|
||||
std::copy(std::istream_iterator<Point>(ifs),
|
||||
std::istream_iterator<Point>(),
|
||||
std::back_inserter(points));
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ protected:
|
|||
return flag;
|
||||
}
|
||||
|
||||
protected:
|
||||
public:
|
||||
bool is_virtual(Vertex_handle v) {
|
||||
if (is_1_cover()) return false;
|
||||
return (virtual_vertices.find(v) != virtual_vertices.end());
|
||||
|
|
|
|||
Loading…
Reference in New Issue