offset_surface
offset_surface(V, F, iso, grid_size=100)
  Compute the surface obtained from dilating a given mesh
Given a triangle mesh, paste signed distances onto a grid, then use Marching Cubes to obtain a new surface at a given isolevel
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
V | 
          
                (n,d) numpy array
           | 
          vertex list of a triangle mesh  | 
          required | 
F | 
          
                (m,3) numpy int array
           | 
          face index list of a triangle mesh  | 
          required | 
iso | 
          
                double
           | 
          Matrix of vertex coordinates of the second mesh  | 
          required | 
grid_size | 
          
                int, optional (default 100)
           | 
          Size of the grid used to compute signed distances  | 
          
                100
           | 
        
Returns:
| Name | Type | Description | 
|---|---|---|
U |           
                numpy double array
           | 
          Matrix of output vertex coordinates  | 
        
G |           
                numpy int array
           | 
          Matrix of output triangle indices  | 
        
See Also
lazy_cage.
Examples:
TO-DO
Source code in src/gpytoolbox/offset_surface.py
        3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43  |  |