Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ConvexHullBuilder::Edge Class Reference

Class that holds the information of an edge. More...

#include <ConvexHullBuilder.h>

Inheritance diagram for ConvexHullBuilder::Edge:
NonCopyable

Public Member Functions

JPH_OVERRIDE_NEW_DELETE Edge (Face *inFace, int inStartIdx)
 Constructor.
 
EdgeGetPreviousEdge ()
 Get the previous edge.
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Public Attributes

FacemFace
 Face that this edge belongs to.
 
EdgemNextEdge = nullptr
 Next edge of this face.
 
EdgemNeighbourEdge = nullptr
 Edge that this edge is connected to.
 
int mStartIdx
 Vertex index in mPositions that indicates the start vertex of this edge.
 

Detailed Description

Class that holds the information of an edge.

Constructor & Destructor Documentation

◆ Edge()

JPH_OVERRIDE_NEW_DELETE ConvexHullBuilder::Edge::Edge ( Face inFace,
int  inStartIdx 
)
inline

Constructor.

Member Function Documentation

◆ GetPreviousEdge()

Edge * ConvexHullBuilder::Edge::GetPreviousEdge ( )
inline

Get the previous edge.

Member Data Documentation

◆ mFace

Face* ConvexHullBuilder::Edge::mFace

Face that this edge belongs to.

◆ mNeighbourEdge

Edge* ConvexHullBuilder::Edge::mNeighbourEdge = nullptr

Edge that this edge is connected to.

◆ mNextEdge

Edge* ConvexHullBuilder::Edge::mNextEdge = nullptr

Next edge of this face.

◆ mStartIdx

int ConvexHullBuilder::Edge::mStartIdx

Vertex index in mPositions that indicates the start vertex of this edge.


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