Skip to main content

Rocky Solver SDK 2024 R2

IRockyCloudPoint Struct Reference

Last update: 08.07.2024

#include <rocky_point_cloud_api.hpp>

Public Member Functions

ROCKY_FUNCTIONS double3 get_position () const
 
ROCKY_FUNCTIONS double get_property (int property_index) const
 
ROCKY_FUNCTIONS bool is_enabled () const
 

Detailed Description

IRockyCloudPoint 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()

ROCKY_FUNCTIONS double3 IRockyCloudPoint::get_position ( ) const
Returns
The Cartesian coordinates of the referred point in the cloud point.

◆ get_property()

ROCKY_FUNCTIONS double 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()

ROCKY_FUNCTIONS bool IRockyCloudPoint::is_enabled ( ) const
Returns
True if the current point cloud is enabled, false otherwise.