GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::ConvexPolytopeEdge< 3, Scalar > Struct Template Reference

#include <GREM/core/data/ConvexPolytope.hpp>

Public Attributes

ConvexPolytopeVertexIndex vertexIndex
 Index of the vertex corresponding to the first point of the edge.
ConvexPolytopeFaceIndex faceIndex
 The index of the face that this edge belongs to.
ConvexPolytopeEdgeIndex nextEdgeIndex
 Index of the next edge on the face, which will eventually loop back around to this edge again.

Member Data Documentation

◆ vertexIndex

template<typename Scalar>
ConvexPolytopeVertexIndex grem::ConvexPolytopeEdge< 3, Scalar >::vertexIndex

Index of the vertex corresponding to the first point of the edge.

The second point can be found in the twin edge that directly follows (or precedes) this one.

◆ faceIndex

template<typename Scalar>
ConvexPolytopeFaceIndex grem::ConvexPolytopeEdge< 3, Scalar >::faceIndex

The index of the face that this edge belongs to.

The other face that shares this edge can be found in the twin edge that directly follows (or precedes) this one.

◆ nextEdgeIndex

template<typename Scalar>
ConvexPolytopeEdgeIndex grem::ConvexPolytopeEdge< 3, Scalar >::nextEdgeIndex

Index of the next edge on the face, which will eventually loop back around to this edge again.

The winding order is counter-clockwise when viewed from outside of the shape.


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