<commit_before>.. _using_pcl:

Using PCL in your own project
-----------------------------

This tutorial explains how to use PCL from your own project.


Prerequisites
-------------

We assume you have downloaded, compiled and installed PCL on your
machine.

Project settings
----------------
Let us say the project is placed under /PATH/TO/MY/GRAND/PROJECT that
contains a lonely cpp file name ``pcd_write.cpp``. Do::


  $ cd /PATH/TO/MY/GRAND/PROJECT

  $ cp /PATH/TO/WHERE/YOU/BUILT/PCL/FindPCL.cmake .
<commit_msg>adding an explicit location to pcd_write, per Justin's e-mail<commit_after>.. _using_pcl:

Using PCL in your own project
-----------------------------

This tutorial explains how to use PCL from your own project.


Prerequisites
-------------

We assume you have downloaded, compiled and installed PCL on your
machine.

Project settings
----------------
Let us say the project is placed under /PATH/TO/MY/GRAND/PROJECT that
contains a lonely cpp file name ``pcd_write.cpp`` (copy it from the
:ref:`writing_pcd` tutorial). Do::


  $ cd /PATH/TO/MY/GRAND/PROJECT

  $ cp /PATH/TO/WHERE/YOU/BUILT/PCL/FindPCL.cmake .

{'fraction_non_alphanumeric': 0.17709251101321585, 'fraction_numerical': 0.0, 'mean_word_length': 2.4216867469879517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1668842', 'n_tokens_mistral': 368, 'n_tokens_neox': 344, 'n_words': 126}