For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

How substitute BRepMesh_ShapeTool::Bound()

Marco Balen's picture
Forums: 

Hi all,

I am been converting a project from OCC6.6 to OCC7.3, and I cannot find the method BRepMesh_ShapeTool::Bound().

How can I replace this method to get the bounding box of shape ?

Thanks,

Marco Balen's picture

Hi All,

I have solved implementing the original code :

Bnd_Box BRepMesh_ShapeTool::Bound(const TopoDS_Face& F)
{
  Bnd_Box Bf;
  BRepBndLib::Add(F, Bf);
  return Bf;
}

Bnd_Box BRepMesh_ShapeTool::Bound(const TopoDS_Edge& E)
{
  Bnd_Box Be;
  BRepBndLib::Add(E, Be);
  return Be;
}

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.