BRep_Tool::Triangulation not returing normals

Does BRep_Tool::Triangulation always returns a triangulation with normal information or is there no such guarantee?? I see that for pretty simply cases (cube, read from an iges file) I receive triangulations with no normal information.

Forum supervisor's picture

Dear Kapil,
BRep_Tool::Triangulation doesn't make calculation of normals.
Regards

Kapil's picture

Thanks for the prompt reply. Is there a single api call to make opencascade do that for me - or will I have to do it for each individual node of triangulation?? I did some homework but was not able to fins such an api :(.

Forum supervisor's picture

Dear Kapil,
See void Poly::ComputeNormals(const Handle(Poly_Triangulation)& Tri).
Regards