Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Data Fields
CartesianToTriangleTransform::TriangleCoord Struct Reference

Return type of CartesianToTriangleTransform transformation. More...

#include <CartesianToTriangleTransform.h>

Data Fields

struct { 
 
   Ogre::Real   alpha 
 Barycentric coordinate. More...
 
   Ogre::Real   beta 
 Barycentric coordinate. More...
 
   Ogre::Real   gamma 
 Barycentric coordinate. More...
 
barycentric 
 
const Ogre::Real distance
 Shortest (signed) distance to triangle plane.
 

Detailed Description

Return type of CartesianToTriangleTransform transformation.

Describes the position of a three-dimensional point relative to a triangle. The position on the triangle plane is defined by the barycentric coordinates alpha, beta and gamma. The perpendicular offset of the point from this plane is given by the value of distance.

Definition at line 56 of file CartesianToTriangleTransform.h.

Field Documentation

◆ alpha

Ogre::Real CartesianToTriangleTransform::TriangleCoord::alpha

Barycentric coordinate.

Definition at line 58 of file CartesianToTriangleTransform.h.

◆ [struct]

const struct { ... } CartesianToTriangleTransform::TriangleCoord::barycentric

◆ beta

Ogre::Real CartesianToTriangleTransform::TriangleCoord::beta

Barycentric coordinate.

Definition at line 59 of file CartesianToTriangleTransform.h.

◆ distance

const Ogre::Real CartesianToTriangleTransform::TriangleCoord::distance

Shortest (signed) distance to triangle plane.

Definition at line 62 of file CartesianToTriangleTransform.h.

◆ gamma

Ogre::Real CartesianToTriangleTransform::TriangleCoord::gamma

Barycentric coordinate.

Definition at line 60 of file CartesianToTriangleTransform.h.


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