MRSL DecompUtil Library  0.1
An implementaion of convex decomposition over point cloud
Macros | Functions
data_utils.h File Reference

Provide a few widely used function for basic type. More...

#include <decomp_basis/data_type.h>

Go to the source code of this file.

Macros

#define transform_vec3   transform_vec<Vec3f, Aff3f>
 Transform all entries in a vector using given TF.
 
#define total_distance3f   total_distance<Vec3f>
 Sum up total distance for Vec3f.
 
#define total_distance3i   total_distance<Vec3i>
 Sum up total distance for Vec3i.
 

Functions

template<class T , class TF >
vec_E< T > transform_vec (const vec_E< T > &t, const TF &tf)
 Template for transforming a vector.
 
template<class T >
decimal_t total_distance (const vec_E< T > &vs)
 Template for calculating distance.
 

Detailed Description

Provide a few widely used function for basic type.