rtcGetGeometryPreviousHalfEdge.3embree3 1.1 KB

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