digeo.MeshPoint#

class digeo.MeshPoint(face, uv)[source]#

Bases: object

Initialize a MeshPoint with a face index and UV coordinates. This should generally not be used directly, instead use MeshPointBatch for batching.

Parameters:
  • face (int)

  • uv (Tensor)

detach()[source]#
Return type:

MeshPoint

get_barycentric_coords()[source]#
Return type:

Tensor

interpolate(mesh)[source]#
Parameters:

mesh (Mesh)

Return type:

Tensor