MiCellGetRelativeSize Method |
Namespace: OIV.MeshVizXLM.Mesh.Cell
This method is used only by the com.openinventor.meshvizxlm.mapping.nodes.MoMeshCellShape to display node names if using the relative offset feature and the streamline extraction to adapt the step integration to the size of the cell. GetRelativeSize(MiGeometryI) should return a value depending on the size of the cell. For instance, GetRelativeSize(MiGeometryI) can return the length of the longest edge of this cell, or the length of its diagonal.
If GetRelativeSize(MiGeometryI) returns a constant value for any cell, the stream line extraction uses a constant number of step integration anywhere in the mesh. Returning a constant implies that all the cells are supposed to have the same size. GetRelativeSize(MiGeometryI) ) must not return 0.