# Easy3DPointCloudToMesh

| Support            | ![](assets/images/sample_programs/applies_to/cpp.svg) ![](assets/images/sample_programs/applies_to/cs.svg)   |
|--------------------|--------------------------------------------------------------------------------------------------------------|
| Required licenses  | **Easy3D**                                                                                                   |
| Recommended images | Any point cloud in the folder `Sample Images/3D`                                                             |
| Location           | `3D Processing/Easy3DPointCloudToMesh`                                                                       |

## Purpose

This sample program demonstrates how to:

- Generate a mesh from a point cloud.

![](assets/images/sample_programs/3d_processing_easy3dpointcloudtomesh.webp)

## Code highlights

For example, use the image `Sample Images/3D/Easy3DMatch/Align/object 1/object1_top_ensenso.ply`.

1. Set the reference plane on which we project the point cloud to generate a mesh.
   ```c++
   converter.ProjectionPlane = refPlane;
   ```
2. Converts the point cloud to a mesh.
   ```c++
   converter.Convert(pointCloud_, generatedMesh_);
   ```
