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

# IRockyCloudPoint Struct Reference

`#include <rocky_point_cloud_api.hpp>`

## Public Member Functions

| Type | Name |
| - | - |
| ROCKY\_FUNCTIONS double3 | [get\_position](#a1d06a1eb80ad0811ab2794f2a494fe17) () const |
| template\<class \_data\_type = double> ROCKY\_FUNCTIONS \_data\_type | [get\_property](#a51d29e82619836ed172e8f3135bf0f51) (int property\_index) const |
| ROCKY\_FUNCTIONS bool | [is\_enabled](#ae9e37938664d6977e49593d1ec8f3dbd) () const |
| ROCKY\_FUNCTIONS bool | [is\_valid](#a79dfeecd7f7360ed1e25135ed54ed312) () const |

## Detailed Description

[`IRockyCloudPoint`](https://developer.synopsys.com/docs/rocky/rocky-solver-sdk/2025-r2/structIRockyCloudPoint) is an interface to the data of the nearest point to a given particle or SPH element at a given time.

## Member Function Documentation

### get\_position()

```cpp theme={null}
ROCKY_FUNCTIONS double3 IRockyCloudPoint::get_position() const
```

**Returns**

The Cartesian coordinates of the referred point in the cloud point.

### get\_property()

```cpp theme={null}
template<class _data_type >
ROCKY_FUNCTIONS _data_type IRockyCloudPoint::get_property(int property_index) const
```

**Returns**

The value of a property in the cloud point dataset, corresponding to the referred point in the point cloud.

### is\_enabled()

```cpp theme={null}
ROCKY_FUNCTIONS bool IRockyCloudPoint::is_enabled() const
```

**Returns**

True if the current point cloud is enabled, false otherwise.

### is\_valid()

```cpp theme={null}
bool IRockyCloudPoint::is_valid() const
```

**Returns**

True if the nearest point is a valid one for the particle passed to get\_particle\_cloud\_point or get\_element\_cloud\_point. Invalid nearest points are only marked when search\_cut\_off\_distance is enabled for the point cloud.
