walberla::mesa_pd::collision_detection::EPA::EPA_Edge Class Reference

Detailed Description

Class storing Information about an Edge of the EPA-Polytope.

#include <EPA.h>

Public Member Functions

Constructor
 EPA_Edge (EPA_Triangle *triangle, size_t index)
 Construct a new Triangle Edge. More...
 
Get functions
EPA_TrianglegetTriangle () const
 Return the triangle this edge belongs to. More...
 
size_t getIndex () const
 Get the Index of this edge in its triangle. More...
 
size_t getStart () const
 Return the start point index of an edge. More...
 
size_t getEnd () const
 Return the end point index of an edge. More...
 

Private Attributes

Member variables
EPA_Triangletriangle_
 the EPA triangle the edge is contained in More...
 
size_t startIdx_
 the index of the point the edge starts at (0, 1, 2) More...
 

Constructor & Destructor Documentation

◆ EPA_Edge()

walberla::mesa_pd::collision_detection::EPA::EPA_Edge::EPA_Edge ( EPA_Triangle triangle,
size_t  index 
)
inline

Construct a new Triangle Edge.

Member Function Documentation

◆ getEnd()

size_t walberla::mesa_pd::collision_detection::EPA::EPA_Edge::getEnd ( ) const
inline

Return the end point index of an edge.

◆ getIndex()

size_t walberla::mesa_pd::collision_detection::EPA::EPA_Edge::getIndex ( ) const
inline

Get the Index of this edge in its triangle.

◆ getStart()

size_t walberla::mesa_pd::collision_detection::EPA::EPA_Edge::getStart ( ) const
inline

Return the start point index of an edge.

◆ getTriangle()

EPA_Triangle* walberla::mesa_pd::collision_detection::EPA::EPA_Edge::getTriangle ( ) const
inline

Return the triangle this edge belongs to.

Member Data Documentation

◆ startIdx_

size_t walberla::mesa_pd::collision_detection::EPA::EPA_Edge::startIdx_
private

the index of the point the edge starts at (0, 1, 2)

◆ triangle_

EPA_Triangle* walberla::mesa_pd::collision_detection::EPA::EPA_Edge::triangle_
private

the EPA triangle the edge is contained in


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