Display normal vector

Hi everyone ,

i'm a newbie in OCC. In fact, i'm using another application which uses occ librariry . I had already a surface by using Handle(Geom_Surface) , and then i use GeomLProp_SLProps to find normal vector of this surface. Now i want to display this vector but i don't know how to do this . Could you help me ? Thanks

George Feng's picture

I don't know if the following is what your want.

Handle(ISession_Direction) aDirection1 = new ISession_Direction(aPnt[k-1],aVecNormal);
myAISContext->Display(aDirection1, Standard_False);