create_mesh_from_topology_and_pointcloud

compas_tno.utilities.create_mesh_from_topology_and_pointcloud(meshtopology, pointcloud, isnan_height=0.0)[source]

Create a mesh based on a given topology and the heights based in a pointcloud.

Parameters
  • meshtopology (FormDiagram) – Topology that is intended to keep

  • mesh_base (mesh) – Mesh usually denser to use as base to interpolate the heights

  • isnan_height (bool, optional) – Value if the height is nan, by default is 0.0

Returns

obj – Mesh.