> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# C++ API

## Calling nTop Core Functions

We supply nTop Core as a standard Windows DLL that exports a small set of C functions. These functions use very simple arguments to make them more easily callable from various different programming languages. You are free to choose any language for your application. The functions use the `cdecl` calling convention, as specified in the `ntop_core.h` header file. We provide examples showing simple methods of calling nTop Core functions from C++, C#, and Python.

Specifically, nTop Core provides the capability to:

* Load an implicit body from a `.implicit` file.
* Perform rigid transformations on an implicit body
* Scale an implicit body.
* Evaluate the body's field at a given point, as described above
* Evaluate the gradient of the body's field function
* Compute intervals
* Compute closest point on body's surface
* Slice an implicit body with a plane using dual contouring or the marching squares algorithm.
* Save an implicit body to a `.implicit` file.
* Get the nTop Core library version

These functions are described in detail in the `ntop_core.h` header file, using Doxygen-style comments.

## nTop Core Dependencies

nTop Core requires the following dependencies:

* Visual Studio 2019 C++ Redistributable ([link](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022/))

## Examples

The [examples](/Product-Documentation/ntop-core/examples) folder contains several examples showing how to call nTop Core functions in C++, C# (dotnet 7), and Python 3.
