computes the area of an extracted plane slice.

MeshViz Shows how to compute the area of an extracted plane slice.

This program shows how to compute the area of an extracted plane slice.

A regular mesh is built at start-up. A plane slice is built by calling extractSlice on a MiPlaneSliceExtractIjk extractor. The area of this slice is computed by the method computeAreaOfSurface. This method sums the areas of all the cells in the plane slice surface mesh.

A second mesh composed by tetrahedrons is built. It contains some dead cells. A plane slice is built by calling extractSlice on a MiPlaneSliceExtractUnstructured extractor. The area of this second slice is computed by the method computeAreaOfSurface. The second area is not equal to the first one because of the existing dead cells.

Exits after printing the second area.

FILES:

SEE ALSO

MiVolumeMeshRegular, MiVolumeMeshUnstructured, MiPlaneSliceExtractIjk, MiPlaneSliceExtractUnstructured, MeXSurfaceMeshUnstructured


Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/