# Module: tfg.math.interpolation.weighted

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/math/interpolation/weighted.py) |

This module implements weighted interpolation for point sets.

## Functions

[`get_barycentric_coordinates(...)`](https://www.tensorflow.org/graphics/api_docs/python/tfg/math/interpolation/weighted/get_barycentric_coordinates): Computes the barycentric coordinates of pixels for 2D triangles.

[`interpolate(...)`](https://www.tensorflow.org/graphics/api_docs/python/tfg/math/interpolation/weighted/interpolate): Weighted interpolation for M-D point sets.