Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few questions on implicitization #330

Open
skbizport opened this issue Jul 6, 2022 · 3 comments
Open

Few questions on implicitization #330

skbizport opened this issue Jul 6, 2022 · 3 comments

Comments

@skbizport
Copy link

Hi

I have few questions on approximate implicitization used in Go-Tools.

  1. How do I compute distance of a point to approximate implicit function? Is evaluation operator () in BernsteinTetrahedralPoly which accepts barycentric coordinates return this distance? Also, can I use BaryCoordSystem3D.cartToBary(pt) to convert a point in 3D space to barycentric and then use the evaluation operator?
  2. If I have a CAD model represented as a set of NURBS or Bezier patches, how do to use this library to compute signed distance function? This needs 2 things, (a) Find if a point is inside a model or outside (b) Find min distance to the model. Would appreciate how one would go about using approx. implicit for this purpose
  3. Is tolerance value used in ImplicitizeSurfaceAlgo? Does this indicate how far implicit surface is from actual surface?
  4. What is the contact email for questions on licensing.

Regards
SK

@tordokken
Copy link

tordokken commented Jul 6, 2022 via email

@skbizport
Copy link
Author

skbizport commented Aug 31, 2022

Appreciate these details. Would be quite interesting to see an implementation based on tri-variate splines.

Using the current library, it is not entirely clear how to compute the gradient for BernsteinTetrahedralPoly. Any pointers or example will be useful.

Also, is there any upper bound on error in the computed distance? Does it behave similar to euclidean distance?

Thx

Regards
SK

@tordokken
Copy link

tordokken commented Aug 31, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants