1rtcGetGeometryFace(3) Embree Ray Tracing Kernels 3 rtcGetGeometryFace(3)
2
3
4
5 NAME
6 rtcGetGeometryFace - returns the face of some half edge
7
8 SYNOPSIS
9 #include <embree3/rtcore.h>
10
11 unsigned int rtcGetGeometryFace(
12 RTCGeometry geometry,
13 unsigned int edgeID
14 );
15
16 DESCRIPTION
17 The rtcGetGeometryFace function returns the ID of the face the speci‐
18 fied half edge (edgeID argument) belongs to. For instance in the fol‐
19 lowing example the face f1 is returned for edges e4, e5, e6, and e7.
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 rtcGetGeometryFace(3)