Public Attributes | List of all members
lvr2::intelem::Barycentrics Struct Reference

Barycentric coordinates of the intersection point. More...

#include <Intersection.hpp>

Public Attributes

Vector2f b_uv
 

Detailed Description

Barycentric coordinates of the intersection point.

float u = b_uv.x();
float v = b_uv.y();
float w = 1.0 - u - v;
// v1 - v3: vertices of face
// p: intersection point
Vector3f p = u * v1 + v * v2 + w * v3

Definition at line 65 of file Intersection.hpp.

Member Data Documentation

◆ b_uv

Vector2f lvr2::intelem::Barycentrics::b_uv

Definition at line 66 of file Intersection.hpp.


The documentation for this struct was generated from the following file:
p
SharedPointer p
Definition: ConvertShared.hpp:42
lvr2::intelem::Barycentrics::b_uv
Vector2f b_uv
Definition: Intersection.hpp:66
lvr2::Vector3f
Eigen::Vector3f Vector3f
Eigen 3D vector, single precision.
Definition: MatrixTypes.hpp:118


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:28