Lagrange
Loading...
Searching...
No Matches
GeodesicPathResult< Scalar, Index > Struct Template Reference

Result of a point-to-point geodesic path computation. More...

#include <lagrange/geodesic/GeodesicEngine.h>

Public Attributes

std::vector< std::array< Scalar, 3 > > points
 Ordered list of 3D points along the geodesic path from source to target.
 
std::vector< Index > facet_ids
 Facet index for each path segment.
 

Detailed Description

template<typename Scalar, typename Index>
struct lagrange::geodesic::GeodesicPathResult< Scalar, Index >

Result of a point-to-point geodesic path computation.

Template Parameters
ScalarMesh scalar type.
IndexMesh index type.

Member Data Documentation

◆ points

template<typename Scalar, typename Index>
std::vector<std::array<Scalar, 3> > points

Ordered list of 3D points along the geodesic path from source to target.

The first point is the source and the last point is the target.

◆ facet_ids

template<typename Scalar, typename Index>
std::vector<Index> facet_ids

Facet index for each path segment.

The i-th entry is the facet that the segment from points[i] to points[i+1] lies in. The size of this vector is points.size() - 1, or 0 if the path is empty.


The documentation for this struct was generated from the following file: