Template Function lvr2::calcBorderCosts

Function Documentation

template<typename BaseVecT>
DenseVertexMap<float> lvr2::calcBorderCosts(const BaseMesh<BaseVecT> &mesh, double border_cost = 1.0)

Computes / set costs for each border vertex to predefined value.

Parameters:
  • mesh – The mesh containing the vertices and edges of interest

  • border_cost – Predefined value to set the border vertices to. Defaults to 1.0

Returns:

The dense edge map with the border cost values