DiscussionsIssue archiveOther usage issues

Archived discussion

BRep_Tool question ?

Other usage issuesSat, 09/16/2000 - 01:332 replies

Browse this forum
QuestionAuthor

Hi !

When I use:

Handle(Poly_Triangulation) tr = BRep_Tool::Triangulation( face, loc);

I get the nodes and the indices for the triangles, but I do not get any normals neither for the triangles or the vertices.

I can of course calculate these on my own, but it can be a bit expensive in time, so if they already exists this would be nice, are there any way to access ther normals for the triangles ?

Mikael

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hello,
I am finding a strange problem. I have created a valid face and when I try
Handle(Poly_Triangulation) tr = BRep_Tool::Triangulation( face, loc); I am getting a tr.IsNULL to be true.

Can anybody help me please.

02Commenter-2

Was the face ever meshed? Check out the BRepMesh class. This will mesh the face and store the triangulation.