Search found 1 match

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

Project VectDg onto a surface to get a 2D vector

Hello, I have a vector in 3D space (VectDg) and I want to project it onto a IUVSurface_DG/IBRepFace_DG at a certain position. I can do this using VectDg n = IUVSurface_DG.GetNormal() and then use myVector.MakeOrtho(n). Then I can use dirU = GetTangent(uv, true); dirV = GetTangent(uv, false); Then du...