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

3d discrete curve

Mauro Corbo's picture

I need help for following problem: I have 3d curve defined by an arbitrary  array of 3d points in the space ( say GpPnt _3DP[100])
I would know if there is an easy way in OCC to get the tangent and normal  vectors of the 3d discrete curves at 3d points location.
Naturally , the array of points ( defining the curve) is made of "ordered" points along 3d curve length , so the _3DP[0] id the start point of 3d curve and _3DP[n_points-1]  is the end of curve , where n_points is the number of 3d points 
welcome for some C++ code fragment.
Thanks in advance


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.