JinXu Mon, 04/28/2008 - 11:38 Forums: Other usage issuesI would like to get U, V parameter of a surface at the given point (x, y, z). How can I do it? Many thanks in advance! Marco Matt Mon, 04/28/2008 - 13:38 const gp_Pnt2d getUV(BRepAdaptor_Surface & adaptor, const gp_Pnt & point) { ShapeAnalysis_Surface analizer(adaptor.Surface().Surface()); gp_Pnt2d uv; uv = analizer.ValueOfUV(point, TOLERANCE_HIGH); return uv; } Log in to post comments JinXu Mon, 04/28/2008 - 14:57 Hi, Marco, Thanks a lot!! Log in to post comments
Mon, 04/28/2008 - 13:38
const gp_Pnt2d getUV(BRepAdaptor_Surface & adaptor, const gp_Pnt & point)
{
ShapeAnalysis_Surface analizer(adaptor.Surface().Surface());
gp_Pnt2d uv;
uv = analizer.ValueOfUV(point, TOLERANCE_HIGH);
return uv;
}
Mon, 04/28/2008 - 14:57
Hi, Marco,
Thanks a lot!!