Search found 1 match

by Eric Rayner
Thu Nov 21, 2024 4:44 am
Forum: DG Kernel discussions
Topic: Project VectDg onto a surface to get a 2D vector
Replies: 1
Views: 43

Re: Project VectDg onto a surface to get a 2D vector

This should work. After the myVector.MakeOrtho(n) you vector will be tangential to the surface. A little shorter way: IFrame_DG frame = IUVSurface_DG.GetUVAlignedFrame(uv); VectDg vectTangential = frame.ToLocal(myVector); vectTangential[0] and vectTangential[1] will be the coordinates in the paramet...