Lagrange
Loading...
Searching...
No Matches
PointToPointGeodesicOptions Struct Reference

General options for point-to-point geodesic computations. More...

#include <lagrange/geodesic/GeodesicEngine.h>

Public Attributes

size_t source_facet_id = 0
 Facet containing the source point.
 
size_t target_facet_id = 0
 Facets containing the target point.
 
std::array< double, 2 > source_facet_bc = {0.0f, 0.0f}
 Barycentric coordinates of the source point within the source facet.
 
std::array< double, 2 > target_facet_bc = {0.0f, 0.0f}
 Barycentric coordinates of the target point within the target facet.
 

Detailed Description

General options for point-to-point geodesic computations.

Member Data Documentation

◆ source_facet_bc

std::array<double, 2> source_facet_bc = {0.0f, 0.0f}

Barycentric coordinates of the source point within the source facet.

Given a triangle (p1, p2, p3), the barycentric coordinates (u, v) are such that the surface point is represented by p = (1 - u - v) * p1 + u * p2 + v * p3.

◆ target_facet_bc

std::array<double, 2> target_facet_bc = {0.0f, 0.0f}

Barycentric coordinates of the target point within the target facet.

Given a triangle (p1, p2, p3), the barycentric coordinates (u, v) are such that the surface point is represented by p = (1 - u - v) * p1 + u * p2 + v * p3.


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