TrianglesInSphereROI
From SOFAWiki
This engine has been moved into the SphereROI engine: see [SphereROI description]
Old scene using TrianglesInSphereROI can be updated easily by changing only the names.
Indeed, the behaviour is the same and all Data names have been kept except the output:
indices is now the array of vertex indices in the SphereROI triangleIndices should be used to have the array of triangle indices in the SphereROI
This engine finds the triangles which are inside (a) given sphere(s).
Input Data's
- X0
- points of mechanical object (rest position).
- centers
- position of the sphere(s)'s center(s).
- triangles
- list of the traingles of the topology
Output Data's
- indices
- indices of the triangles inside the sphere(s).
Examples
See the multi-engines example.
