    

 ## On this page

  

 

 # IRockyCloudPoint Struct Reference

 Last update: 16.07.2025 

`#include <<a class="el" href="rocky__point__cloud__api_8hpp_source.xhtml">rocky_point_cloud_api.hpp</a>>`

## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

ROCKY\_FUNCTIONS double3 [get\_position](#a1d06a1eb80ad0811ab2794f2a494fe17) () const template&lt;class \_data\_type = double&gt; 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 <a id="details" name="details"></a>## Detailed Description

`<a class="el" href="structIRockyCloudPoint.xhtml">IRockyCloudPoint</a>` is an interface to the data of the nearest point to a given particle or SPH element at a given time.



## Member Function Documentation

<a id="a1d06a1eb80ad0811ab2794f2a494fe17" name="a1d06a1eb80ad0811ab2794f2a494fe17"></a>## [◆ ](#a1d06a1eb80ad0811ab2794f2a494fe17)get\_position()

 ROCKY\_FUNCTIONS double3 IRockyCloudPoint::get\_position  ( )  const

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



<a id="a51d29e82619836ed172e8f3135bf0f51" name="a51d29e82619836ed172e8f3135bf0f51"></a>## [◆ ](#a51d29e82619836ed172e8f3135bf0f51)get\_property()

template&lt;class _data_type &gt; 

 ROCKY\_FUNCTIONS \_data\_type IRockyCloudPoint::get\_property  ( int *property\_index*)  const

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



<a id="ae9e37938664d6977e49593d1ec8f3dbd" name="ae9e37938664d6977e49593d1ec8f3dbd"></a>## [◆ ](#ae9e37938664d6977e49593d1ec8f3dbd)is\_enabled()

 ROCKY\_FUNCTIONS bool IRockyCloudPoint::is\_enabled  ( )  const

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



<a id="a79dfeecd7f7360ed1e25135ed54ed312" name="a79dfeecd7f7360ed1e25135ed54ed312"></a>## [◆ ](#a79dfeecd7f7360ed1e25135ed54ed312)is\_valid()

 bool IRockyCloudPoint::is\_valid  ( )  const

ReturnsTrue 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.