ENH: sampling on triSurfaceMesh

sampledTriSurfaceMesh adds sampling on points/triangles of a triSurface(mesh).
All values outside mesh are set to 0.
This commit is contained in:
mattijs
2010-02-01 16:31:48 +00:00
parent 9b5ea8ccff
commit 992344ffac
5 changed files with 709 additions and 3 deletions

View File

@ -118,9 +118,7 @@ sets
);
// Surface sampling definition: choice of
// plane : values on plane defined by point, normal.
// patch : values on patch.
// Surface sampling definition
//
// 1] patches are not triangulated by default
// 2] planes are always triangulated
@ -209,6 +207,28 @@ surfaces
// regularise false; // Optional: do not simplify
}
distance
{
// Isosurface from signed/unsigned distance to surface
type distanceSurface;
signed true;
// Definition of surface
surfaceType triSurfaceMesh;
surfaceName integrationPlane.stl;
// Distance to surface
distance 0.0;
interpolate false;
}
triSurfaceSampling
{
// Sampling on triSurface
type sampledTriSurfaceMesh;
surface integrationPlane.stl;
interpolate true;
}
);