Interface MeXSurfaceCell
- All Superinterfaces:
MiCell
,MiSurfaceCell
Defines a cell of an extracted surface mesh.
A surface cell is a polygon element that connects adjacent nodes of a surface mesh.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getArea
(MiGeometryI meshGeometry) Gets the area of the cell.getNormal
(MiGeometryI meshGeometry) Gets the unit normal vector to the surface's plane.Methods inherited from interface com.openinventor.meshvizxlm.mesh.cell.MiCell
getCenter, getNodeIndex, getNumNodes, getRelativeSize, isPointInsideCell
-
Method Details
-
getArea
Gets the area of the cell.This method is not used by extraction classes.
- Parameters:
meshGeometry
- the geometry of the mesh used to retrieve the node coordinates of this cell- Returns:
- the area of this cell
-
getNormal
Gets the unit normal vector to the surface's plane.This method is not used by extraction classes.
- Parameters:
meshGeometry
- the geometry of the mesh used to retrieve the node coordinates of this cell- Returns:
- the unit normal vector {x,y,z} to the surface's plane
-