a new problem just hit me :)
I have to tesselate a TopoShape.
I currently do it like this:
TopExp_Explorer aExpFace; for(aExpFace.Init(pcShape->getShape(),TopAbs_FACE);aExpFace.More();aExpFace.Next())
TopoDS_Face aFace = TopoDS::Face(aExpFace.Current());
// takes the triangulation of the face aFace:
Handle_Poly_Triangulation aTr = BRep_Tool::Triangulation(aFace,aLocation);
Now I check if the Handle is Null...and in fact for the first face of my shape it is null all the time...Why????
If I let the for loop continue over all the faces then in the end all the faces are meshed the right way but not the first one (its the only face that is also a trimmed surface below ).
Can anyone help me on this??
All the best.