Open 3D Engine PhysX Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PolygonPrismMeshUtils::HalfEdge Struct Reference

#include <PolygonPrismMeshUtils.h>

Public Attributes

Facem_face = nullptr
 The face this half-edge belongs to.
 
AZ::Vector2 m_origin = AZ::Vector2::CreateZero()
 The point where this half-edge meets the previous half-edge.
 
HalfEdgem_prev = nullptr
 The previous half-edge.
 
HalfEdgem_next = nullptr
 The next half-edge.
 
HalfEdgem_twin = nullptr
 The half-edge which shares this edge, or nullptr if this edge has no adjacent face.
 
float m_prevAngle = 0.0f
 The internal angle between this half-edge and the previous half-edge.
 
float m_nextAngle = 0.0f
 The internal angle between this half-edge and the next half-edge.
 
bool m_visited = false
 Marks if the half edge has been visited during the process of matching up twin edges.
 
bool m_dirty = false
 Marks if an update is required because an adjacent internal edge has been removed.
 

Detailed Description

A half-edge in a doubly connected edge list (a data structure for efficiently manipulating meshes). An edge connecting two adjoining faces in the mesh is represented as two oppositely directed half-edges, which each half-edge belonging to one of the faces, and owning a pointer to its twin in the other face.


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