1rtcGetGeometryOppositeHalfEEmdbgree(e3)Ray Tracing KerrtnceGlestG3eometryOppositeHalfEdge(3)
2
3
4
5   NAME
6              rtcGetGeometryOppositeHalfEdge - returns the opposite half edge
7
8   SYNOPSIS
9              #include <embree3/rtcore.h>
10
11              unsigned int rtcGetGeometryOppositeHalfEdge(
12                RTCGeometry geometry,
13                unsigned int topologyID,
14                unsigned int edgeID
15              );
16
17   DESCRIPTION
18       The rtcGetGeometryOppositeHalfEdge function returns the ID of the oppo‐
19       site half edge of the specified half  edge  (edgeID  argument)  in  the
20       specified  topology (topologyID argument).  For instance in the follow‐
21       ing example the opposite half edge of e6 is e16.
22
23       An opposite half edge does not exist if the specified half edge has ei‐
24       ther  no  neighboring face, or more than 2 neighboring faces.  In these
25       cases the function just returns the same edge edgeID again.
26
27       This function can only be used for subdivision geometries.   The  func‐
28       tion  depends on the topology as the topologies of a subdivision geome‐
29       try have different index buffers assigned.
30
31   EXIT STATUS
32       On failure an error code is set that can  be  queried  using  rtcGetDe‐
33       viceError.
34
35   SEE ALSO
36       [rtcGetGeometryFirstHalfEdge], [rtcGetGeometryFace], [rtcGetGeometryOp‐
37       positeHalfEdge],  [rtcGetGeometryNextHalfEdge],   [rtcGetGeometryPrevi‐
38       ousHalfEdge]
39
40
41
42                                             rtcGetGeometryOppositeHalfEdge(3)
Impressum