Click or drag to resize
MiCellGetRelativeSize Method
Gets the relative size of the cell.

Namespace: OIV.MeshVizXLM.Mesh.Cell
Assembly: OIV.MeshVizXLM.Mesh (in OIV.MeshVizXLM.Mesh.dll) Version: 9.9.13.0.Release.908d87e01
Syntax
double GetRelativeSize(
	MiGeometryI meshGeometry
)

Parameters

meshGeometry
Type: OIV.MeshVizXLM.Mesh.GeometryMiGeometryI
the geometry of the mesh. It is used to retrieve the node coordinates of this cell.

Return Value

Type: Double
the relative size of the cell.
Remarks
Gets the relative size of the 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.

See Also