Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to convert my VB.Net project to C# (some employers prefer C#) and I feel a bit confused with usage of GetNormalAtPoint method (on the same dataset it fails to return same result as VB.Net does).
VB.Net code (piece of interest):
Call oFrF.Evaluator.GetNormalAtPoint(pt, n)
MessageBox.Show("oFrF.TransientKey = " & oFrF.TransientKey & vbCrLf & "pt : " & pt(0) & " ; " & pt(1) & " ; " & pt(2) & vbCrLf & "n : " & n(0) & " ; " & n(1) & " ; " & n(2), "VB")
C#:
oFrF.Evaluator.GetNormalAtPoint(pt, n);
MessageBox.Show ("oFrF.TransientKey = " + oFrF.TransientKey + System.Environment.NewLine + "pt : " + pt[0] + " ; " + pt[1] + " ; " + pt[2] + System.Environment.NewLine + "n : " + n[0] + " ; " + n[1] + " ; " + n[2],"C#");
I'm expecting to get the same coordinates of n (Point) on same "oFrF" (Face) and "pt" (Point) but I get zero:
What I'm missing?
Please vote for Inventor-Idea Text Search within Option Names
Solved! Go to Solution.