RigsofRods
Soft-body Physics Simulation
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. More...
 

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.

◆ barycentric

const { ... } 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: