Forum archiveIssue archiveOther usage issues

Archived discussion

BRep_Tool::Triangulation not returing normals

Other usage issuesWed, 01/25/2012 - 10:343 replies

Browse this forum
QuestionAuthor

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.

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

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

02Author

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 :(.

03Commenter-1

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