For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Display normal vector

DO Hong ha's picture

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);