SEARCH
TOOLBOX
LANGUAGES
TrianglesInBoxROI

TrianglesInBoxROI

From SOFAWiki

Jump to: navigation, search

This engine has been moved into the BoxROI engine: see [BoxROI description]
Old scene using TrianglesInBoxROI 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 boxROI
triangleIndices should be used to have the array of triangle indices in the boxROI 




This engine finds the triangles which are inside a given box.

Input Data's

  • X
points of mechanical object.
  • box
built using two points.
  • triangles
list of the traingles of the topology

Output Data's

  • indices
indices of the triangles inside the box.

Examples

Sorry! for the moment there are not explicit examples showing how this engine works.