Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey Guys:
I was wondering if there's an easy way to find out if a 2D point lies within a flat surface profile.
I've checked the API for SurfaceEvaluator and found a few functions that I thought would help, but based on the descriptions I don't think they'll get me all the way there.
isParameterOnFace | Determines if the specified parameter position lies with the parametric range of the surface. |
getParameterAtPoint | Get the parameter position that correspond to a point on the surface. For reliable results, the point should lie on the surface within model tolerance. If the point does not lie on the surface, the parameter of the nearest point on the surface will generally be returned. |
getParameterAtPoint() seems to want a point that is already KNOWN to be on the surface, so I don't think that's much use....and isParameterOnFace() wants a param as an input, not a point.
Am I missing an easier way to do this. Would it be easier to check whether or not a line crosses a surface, because I can generate the lines to check for that as well..
Thanks very much.
-Erik
Solved! Go to Solution.