1rtcGetGeometryPreviousHalfEEmdbgree(e3)Ray Tracing KerrtnceGlestG4eometryPreviousHalfEdge(3)
2
3
4
5 NAME
6 rtcGetGeometryPreviousHalfEdge - returns the previous half edge
7
8 SYNOPSIS
9 #include <embree4/rtcore.h>
10
11 unsigned int rtcGetGeometryPreviousHalfEdge(
12 RTCGeometry geometry,
13 unsigned int edgeID
14 );
15
16 DESCRIPTION
17 The rtcGetGeometryPreviousHalfEdge function returns the ID of the pre‐
18 vious half edge of the specified half edge (edgeID argument). For in‐
19 stance in the following example the previous half edge of e6 is e5.
20
21 This function can only be used for subdivision geometries. As all
22 topologies of a subdivision geometry share the same face buffer the
23 function does not depend on the topology ID.
24
25 EXIT STATUS
26 On failure an error code is set that can be queried using rtcGetDe‐
27 viceError.
28
29 SEE ALSO
30 [rtcGetGeometryFirstHalfEdge], [rtcGetGeometryFace], [rtcGetGeometryOp‐
31 positeHalfEdge], [rtcGetGeometryNextHalfEdge], [rtcGetGeometryPrevi‐
32 ousHalfEdge]
33
34
35
36 rtcGetGeometryPreviousHalfEdge(3)