rtcGetGeometryNextHalfEdge(3) Embree Ray Tracing Kernels 4 rtcGetGeometryNextHalfEdge(3)

rtcGetGeometryNextHalfEdge - returns the next half edge

#include <embree4/rtcore.h>
unsigned int rtcGetGeometryNextHalfEdge(
  RTCGeometry geometry,
  unsigned int edgeID
);

The rtcGetGeometryNextHalfEdge function returns the ID of the next half edge of the specified half edge (edgeID argument). For instance in the following example the next half edge of e10 is e11.

This function can only be used for subdivision geometries. As all topologies of a subdivision geometry share the same face buffer the function does not depend on the topology ID.

On failure an error code is set that can be queried using rtcGetDeviceError.

[rtcGetGeometryFirstHalfEdge], [rtcGetGeometryFace], [rtcGetGeometryOppositeHalfEdge], [rtcGetGeometryNextHalfEdge], [rtcGetGeometryPreviousHalfEdge]