Skip to main content
Ctrl+K
Logo image

COMPAS Libigl

  • Introduction
  • Installation
  • Development Guide
    • Overview
    • Compiler Requirements
    • Conda Environment
    • Contribute
    • CMake Configuration
    • Types
    • Style
  • Tutorial
  • Examples
    • Boundary loops
    • Curvature
    • Geodesic Distance
    • Ray-Mesh Intersections
    • Isolines
    • Mass matrix
    • Meshing
    • Mesh parameterization
    • Planarization
  • API Reference
    • compas_libigl
      • add
      • get
      • get_beetle
      • get_armadillo
      • intersection_ray_mesh
      • intersection_rays_mesh
      • trimesh_boundaries
      • trimesh_gaussian_curvature
      • trimesh_principal_curvature
      • trimesh_geodistance
      • trimesh_geodistance_multiple
      • trimesh_isolines
      • groupsort_isolines
      • trimesh_massmatrix
      • trimesh_harmonic
      • trimesh_lscm
      • quadmesh_planarize
      • trimesh_remesh_along_isoline
      • trimesh_remesh_along_isolines
  • License
  • Acknowledgements
COMPAS.dev
  • API Reference
  • compas_libigl
  • trimesh_lscm

trimesh_lscm

trimesh_lscm(M)[source]

Compute the least squares conformal map of a triangle mesh.

Parameters:
Mtuple[list[list[float]], list[list[int]]]

A mesh represented by a tuple of (vertices, faces) where vertices are 3D points and faces are triangles

Returns:
list[list[float]]

The u, v parameters per vertex.

Notes

camelhead.off can be downloaded from https://raw.githubusercontent.com/libigl/libigl-tutorial-data/master/camelhead.off

On this page
  • trimesh_lscm()

© Copyright COMPAS Association.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.13.3.