Skip to main content

System Coupling C++ library 2024 R2

sysc::PointCloud Class Reference

Last update: 17.07.2025

Provide a point cloud access class. More...

#include <PointCloud.hpp>

Public Member Functions

 PointCloud (OutputIntegerData nodeIds, OutputVectorData nodeCoords)
 Constructor for PointCloud class.
 
 PointCloud ()=default
 Provide a default constructor.
 
 PointCloud (const PointCloud &)=default
 Provide a copy-constructor.
 
 PointCloud (PointCloud &&)=default
 Provide a move-constructor.
 
PointCloudoperator= (const PointCloud &)=default
 Provide a copy-assign operator.
 
PointCloudoperator= (PointCloud &&)=default
 Provide a move-assign operator.
 
std::size_t getNumNodes () const noexcept
 Provide a method to get the number of nodes for this mesh.
 
OutputIntegerData getNodeIds () const
 Provide a method to access node ids array.
 
OutputVectorData getNodeCoords () const
 Provide a method to access node coordinates array.
 
ValidityStatus checkValidity () const
 Provide a method to perform simple validity checks.
 

Public Attributes

std::int64_t connectivityStamp {0}
 Connectivity stamp. Update whenever point cloud properties, other than coordinates, are updated (e.g. number of points, points order).

 
std::int64_t coordinatesStamp {0}
 Nodal coordinates stamp. Update whenever coordinates get updated.
 
std::int64_t partitioningStamp {0}
 Partitioning stamp. Update whenever the point cloud is re-partitioned.
 

Detailed Description

Provide a point cloud access class.

Provides read-only access to the point cloud for a given region.

Definition at line 25 of file PointCloud.hpp.

Constructor & Destructor Documentation

◆ PointCloud()

sysc::PointCloud::PointCloud ( OutputIntegerData  nodeIds,
OutputVectorData  nodeCoords 
)

Constructor for PointCloud class.

Parameters
[in]nodeIds- output integer data access for node ids
[in]nodeCoords- output vector data access for node coordinates

Member Data Documentation

◆ connectivityStamp

std::int64_t sysc::PointCloud::connectivityStamp {0}

Connectivity stamp. Update whenever point cloud properties, other than coordinates, are updated (e.g. number of points, points order).

Definition at line 29 of file PointCloud.hpp.

29{0};

◆ coordinatesStamp

std::int64_t sysc::PointCloud::coordinatesStamp {0}

Nodal coordinates stamp. Update whenever coordinates get updated.

Definition at line 33 of file PointCloud.hpp.

33{0};

◆ partitioningStamp

std::int64_t sysc::PointCloud::partitioningStamp {0}

Partitioning stamp. Update whenever the point cloud is re-partitioned.

Definition at line 37 of file PointCloud.hpp.

37{0};

Connect with Ansys