rtcGetGeometryNextHalfEdge.3embree3 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .TH "rtcGetGeometryNextHalfEdge" "3" "" "" "Embree Ray Tracing Kernels 3"
  2. .SS NAME
  3. .IP
  4. .nf
  5. \f[C]
  6. rtcGetGeometryNextHalfEdge\ \-\ returns\ the\ next\ half\ edge
  7. \f[]
  8. .fi
  9. .SS SYNOPSIS
  10. .IP
  11. .nf
  12. \f[C]
  13. #include\ <embree3/rtcore.h>
  14. unsigned\ int\ rtcGetGeometryNextHalfEdge(
  15. \ \ RTCGeometry\ geometry,
  16. \ \ unsigned\ int\ edgeID
  17. );
  18. \f[]
  19. .fi
  20. .SS DESCRIPTION
  21. .PP
  22. The \f[C]rtcGetGeometryNextHalfEdge\f[] function returns the ID of the
  23. next half edge of the specified half edge (\f[C]edgeID\f[] argument).
  24. For instance in the following example the next half edge of \f[C]e10\f[]
  25. is \f[C]e11\f[].
  26. .IP
  27. .nf
  28. \f[C]
  29. \f[]
  30. .fi
  31. .PP
  32. This function can only be used for subdivision geometries.
  33. As all topologies of a subdivision geometry share the same face buffer
  34. the function does not depend on the topology ID.
  35. .SS EXIT STATUS
  36. .PP
  37. On failure an error code is set that can be queried using
  38. \f[C]rtcGetDeviceError\f[].
  39. .SS SEE ALSO
  40. .PP
  41. [rtcGetGeometryFirstHalfEdge], [rtcGetGeometryFace],
  42. [rtcGetGeometryOppositeHalfEdge], [rtcGetGeometryNextHalfEdge],
  43. [rtcGetGeometryPreviousHalfEdge]