|
OpenBEM
Open-source framework for electromagnetic simulation with the boundary element method.
|
Point cloud class. More...
#include <point_cloud.hpp>
Point cloud class.
| dim | - The dimension of the point cloud (1, 2 or 3). |
Definition at line 39 of file point_cloud.hpp.
|
inline |
Constructs an empty PointCloud.
Definition at line 49 of file point_cloud.hpp.
|
inline |
Constructs a PointCloud with given point data.
| [in] | points | - Coordinates of the points in the cloud. |
Definition at line 56 of file point_cloud.hpp.
| void bem::PointCloud< dim >::set_line_data | ( | ConstEigRef< EigColVecN< Float, dim > > | start, |
| ConstEigRef< EigColVecN< Float, dim > > | stop, | ||
| const Index | num_pts | ||
| ) |
Sets PointCloud data as points along a straight line.
| [in] | start | - Starting point coordinates. |
| [in] | stop | - Ending point coordinates. |
| [in] | num_pts | - Number of points in the cloud. |
Definition at line 30 of file point_cloud.cpp.
| void bem::PointCloud< dim >::set_block_data | ( | ConstEigRef< EigColVecN< Float, dim > > | start, |
| ConstEigRef< EigColVecN< Float, dim > > | stop, | ||
| ConstEigRef< EigColVecN< Index, dim > > | num_pts | ||
| ) |
Sets PointCloud data as a block of points.
| [in] | start | - Coordinates of the minimum-value corner of the block. |
| [in] | stop | - Coordinates of the maximum-value corner of the block. |
| [in] | num_pts | - Number of points in the block along each dimension. |
Definition at line 44 of file point_cloud.cpp.
| void bem::PointCloud< dim >::set_polar_data | ( | ConstEigRef< EigColVecN< Float, dim > > | start, |
| ConstEigRef< EigColVecN< Float, dim > > | stop, | ||
| ConstEigRef< EigColVecN< Float, dim > > | center, | ||
| ConstEigRef< EigColVecN< Index, dim > > | num_pts | ||
| ) |
Sets PointCloud data as points of a polar grid.
| [in] | start | - Starting point coordinates (radius, azimuth, elevation). |
| [in] | stop | - Ending point coordinates (radius, azimuth, elevation). |
| [in] | center | - Center point coordinates (x, y, z). |
| [in] | num_pts | - Number of points in the polar grid along each dimension. |
Definition at line 83 of file point_cloud.cpp.
| void bem::PointCloud< dim >::set_data | ( | ConstEigRef< EigMatNX< Float, dim > > | points | ) |
Sets the point cloud data.
| [in] | points | - Coordinates of the points in the cloud. |
Definition at line 97 of file point_cloud.cpp.
| void bem::PointCloud< dim >::clear_data | ( | ) |
Clears the point cloud data.
Definition at line 105 of file point_cloud.cpp.
|
inline |
Returns the coordinates of the points in the cloud.
Definition at line 126 of file point_cloud.hpp.
|
inline |
Returns the coordinates of the point at a specific index in the cloud.
| [in] | idx | - Index of the point. |
Definition at line 135 of file point_cloud.hpp.
|
inline |
Returns the number of points in the cloud.
Definition at line 143 of file point_cloud.hpp.
Definition at line 149 of file point_cloud.hpp.