PbIndexedMesh2DSetElemOrientation Method |
Changes orientation of cells during visualization of 2D surface mesh.
Namespace: OIV.MeshViz.DataAssembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void SetElemOrientation(
PbIndexedMesh2DElemOrientations cell_orient
)
Public Sub SetElemOrientation (
cell_orient As PbIndexedMesh2DElemOrientations
)
public:
void SetElemOrientation(
PbIndexedMesh2DElemOrientations cell_orient
)
member SetElemOrientation :
cell_orient : PbIndexedMesh2DElemOrientations -> unit
Parameters
- cell_orient
- Type: OIV.MeshViz.DataPbIndexedMesh2DElemOrientations
Remarks The ordering of the indices of an cell defines the direction of its normal vector and so its orientation. When the mesh is visualized in 2D, the direction of the normal of an cell is either Z+ or Z-. If any cell of the mesh does not have the same orientation, it can change the representation because the lighting depends on the orientation.
See Also