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:


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 Mon Feb 28 2022 22:46:12