Skip to content
Snippets Groups Projects
Commit eb1468d5 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent 2a69e34f
Branches
Tags
No related merge requests found
...@@ -116,8 +116,6 @@ void OCCFace::setup() ...@@ -116,8 +116,6 @@ void OCCFace::setup()
if (_periodic[0]) _period[0]=surface.UPeriod(); if (_periodic[0]) _period[0]=surface.UPeriod();
if (_periodic[1]) _period[1]=surface.VPeriod(); if (_periodic[1]) _period[1]=surface.VPeriod();
ShapeAnalysis::GetFaceUVBounds(s, umin, umax, vmin, vmax); ShapeAnalysis::GetFaceUVBounds(s, umin, umax, vmin, vmax);
Msg::Debug("OCC Face %d with %d parameter bounds (%g,%g)(%g,%g)", Msg::Debug("OCC Face %d with %d parameter bounds (%g,%g)(%g,%g)",
tag(), l_edges.size(), umin, umax, vmin, vmax); tag(), l_edges.size(), umin, umax, vmin, vmax);
...@@ -405,7 +403,6 @@ bool OCCFace::containsPoint(const SPoint3 &pt) const ...@@ -405,7 +403,6 @@ bool OCCFace::containsPoint(const SPoint3 &pt) const
bool OCCFace::buildSTLTriangulation(bool force) bool OCCFace::buildSTLTriangulation(bool force)
{ {
if(stl_triangles.size()){ if(stl_triangles.size()){
if(force){ if(force){
stl_vertices.clear(); stl_vertices.clear();
...@@ -455,7 +452,6 @@ bool OCCFace::buildSTLTriangulation(bool force) ...@@ -455,7 +452,6 @@ bool OCCFace::buildSTLTriangulation(bool force)
return true; return true;
} }
bool OCCFace::isSphere (double &radius, SPoint3 &center) const bool OCCFace::isSphere (double &radius, SPoint3 &center) const
{ {
switch(geomType()){ switch(geomType()){
...@@ -470,7 +466,8 @@ bool OCCFace::isSphere (double &radius, SPoint3 &center) const ...@@ -470,7 +466,8 @@ bool OCCFace::isSphere (double &radius, SPoint3 &center) const
} }
} }
bool OCCFace::containsParam(const SPoint2 &pt) { bool OCCFace::containsParam(const SPoint2 &pt)
{
// return GFace::containsParam(pt); // return GFace::containsParam(pt);
if(!buildSTLTriangulation(false)){ if(!buildSTLTriangulation(false)){
Msg::Warning ("Inacurate computation in OCCFace::containsParam"); Msg::Warning ("Inacurate computation in OCCFace::containsParam");
...@@ -509,8 +506,6 @@ bool OCCFace::containsParam(const SPoint2 &pt) { ...@@ -509,8 +506,6 @@ bool OCCFace::containsParam(const SPoint2 &pt) {
// fclose(F); // fclose(F);
// return ok; // return ok;
return false; return false;
} }
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment