CVB.Net 15.0
Convert3D Class Reference

Conversion functions for 3D objects. More...

Static Public Member Functions

static PointCloud To< T > (PointCloud source)
 Creates a new point cloud which is a copy of the given source , but with possibly different data type and number of components. More...
 
static PointCloud Convert (PointCloud source, PointCloudFlags flags)
 Creates a new point cloud which is a copy of the given source , but with possibly different data type and number of components. More...
 

Detailed Description

Conversion functions for 3D objects.

Member Function Documentation

◆ Convert()

static PointCloud Convert ( PointCloud  source,
PointCloudFlags  flags 
)
static

Creates a new point cloud which is a copy of the given source , but with possibly different data type and number of components.

Parameters
sourceThe point cloud to convert.
flagsFlags specifying the kind of point cloud to be created.
Returns
Converted point cloud.
Exceptions
CvbExceptionWhen creating the converted point cloud failed.

◆ To< T >()

static PointCloud To< T > ( PointCloud  source)
static

Creates a new point cloud which is a copy of the given source , but with possibly different data type and number of components.

Template Parameters
TDataType to convert to. Can be either double or float.
Parameters
sourceThe point cloud to convert.
Returns
Converted point cloud.
Exceptions
ArgumentExceptionWhen T is not double or float.
Type Constraints
T :struct