Interface MeXSurfaceCell
-
- All Superinterfaces:
MiCell
,MiSurfaceCell
public interface MeXSurfaceCell extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getArea(MiGeometryI meshGeometry)
Gets the area of the cell.SbVec3d
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 Detail
-
getArea
double getArea(MiGeometryI meshGeometry)
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
SbVec3d getNormal(MiGeometryI meshGeometry)
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
-
-