public abstract class MxCellExtract extends MxGenericCellExtract
Utility class that provides a static implementation of MiCell
interface methods for a cell. This class is provided to make it easier to
create a class that implements the MiCell
interface.
Modifier and Type | Method and Description |
---|---|
static double[] |
getCenter(MiGeometryI geometry,
MiCell cell)
Gets the center of the specified cell.
|
public static double[] getCenter(MiGeometryI geometry, MiCell cell)
This static method helps to implement the method
MiCell.getCenter(MiGeometryI)
for a cell.
It computes the average of the coordinates of each cell's node.
geometry
- the geometry of the mesh. It is used to retrieve the node
coordinatescell
- the input cell.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com