Interface MiGeometryI

All Superinterfaces:
MiGeometry
All Known Subinterfaces:
MeXGeometryI

public interface MiGeometryI extends MiGeometry
Generic geometry interface for unstructured meshes.

Generic geometry interface accessible via one index. This type of geometry is typically used by unstructured mesh interfaces.

  • Method Summary

    Modifier and Type
    Method
    Description
    double[]
    getCoord(long i)
    Returns the {x, y, z} coordinates at the specified position of this geometry.

    Methods inherited from interface com.openinventor.meshvizxlm.mesh.geometry.MiGeometry

    getTimeStamp
  • Method Details

    • getCoord

      double[] getCoord(long i)
      Returns the {x, y, z} coordinates at the specified position of this geometry.

      The implementation of this method must be thread-safe because it might be called concurrently by multiple threads. The way this method is implemented is critical for performance. Any inefficient implementation may impact very significantly the duration of the skin or slab extractions. For instance, using a mutex to ensure this method is thread-safe is in general not efficient.

      Parameters:
      i - index of the coordinates to return
      Returns:
      the {x, y, z} coordinates at the specified position