1rtcGetGeometryFirstHalfEdgEem(b3r)ee Ray Tracing KernerltscG3etGeometryFirstHalfEdge(3)
2
3
4
5   NAME
6              rtcGetGeometryFirstHalfEdge - returns the first half edge of a face
7
8   SYNOPSIS
9              #include <embree3/rtcore.h>
10
11              unsigned int rtcGetGeometryFirstHalfEdge(
12                RTCGeometry geometry,
13                unsigned int faceID
14              );
15
16   DESCRIPTION
17       The  rtcGetGeometryFirstHalfEdge  function  returns the ID of the first
18       half edge belonging to  the  specified  face  (faceID  argument).   For
19       instance in the following example the first half edge of face f1 is e4.
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       Here  f0  to  f7  are  8 quadrilateral faces with 4 vertices each.  The
26       edges e0 to e23 of these faces are shown with their  orientation.   For
27       each  face  the ID of the edges corresponds to the slots the face occu‐
28       pies in the index array of the geometry.  E.g.  as the indices of  face
29       f1  start  at location 4 of the index array, the first edge is edge e4,
30       the next edge e5, etc.
31
32   EXIT STATUS
33       On failure an error code is set that can  be  queried  using  rtcGetDe‐
34       viceError.
35
36   SEE ALSO
37       [rtcGetGeometryFirstHalfEdge], [rtcGetGeometryFace], [rtcGetGeometryOp‐
38       positeHalfEdge],  [rtcGetGeometryNextHalfEdge],   [rtcGetGeometryPrevi‐
39       ousHalfEdge]
40
41
42
43                                                rtcGetGeometryFirstHalfEdge(3)
Impressum