Interpolation

class Interpolation

On a triangulated surface, allows to interpolate a scalar, displacement or stress field from vertices to triangles or from triangle to vertices.

Interpolation(surface: Surface)

The constructor

Parameters:

surface (Surface) – The considered surface

fromVerticesToTriangles(field: Vector) Vector

Convert the scalar, displacement or stress field defined at vertices to triangles

Parameters:

field (Vector) – The field defined at vertices

Returns:

The converted field at triangles

fromTrianglesToVertices(field: Vector) Vector

Convert the scalar, displacement or stress field defined at triangles to vertices

Parameters:

field (Vector) – The field defined at triangles

Returns:

The converted field at vertices