Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. {{x1,y1,z1},{x2,y2,z2}...}
  2.  
  3. Interpolation::fememtlq: The quality 0.` of the underlying mesh is too low.
  4. The quality needs to be larger than 0.`.
  5.  
  6. epsilon = 10^-5;
  7. perturbData = {#1 + RandomReal[epsilon {-1, 1}], #2 +
  8. RandomReal[epsilon {-1, 1}], #3 +
  9. RandomReal[epsilon {-1, 1}]} & @@@ intrct;
  10. reg = ConvexHullMesh[perturbData[[All, 1 ;; 2]]];
  11. f = Interpolation[perturbData, InterpolationOrder -> 1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement