.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "rtcGetGeometryPreviousHalfEdge" "3" "" "" "Embree Ray Tracing Kernels 4" .hy .SS NAME .IP .nf \f[C] rtcGetGeometryPreviousHalfEdge - returns the previous half edge \f[R] .fi .SS SYNOPSIS .IP .nf \f[C] #include unsigned int rtcGetGeometryPreviousHalfEdge( RTCGeometry geometry, unsigned int edgeID ); \f[R] .fi .SS DESCRIPTION .PP The \f[V]rtcGetGeometryPreviousHalfEdge\f[R] function returns the ID of the previous half edge of the specified half edge (\f[V]edgeID\f[R] argument). For instance in the following example the previous half edge of \f[V]e6\f[R] is \f[V]e5\f[R]. .IP .nf \f[C] \f[R] .fi .PP This function can only be used for subdivision geometries. As all topologies of a subdivision geometry share the same face buffer the function does not depend on the topology ID. .SS EXIT STATUS .PP On failure an error code is set that can be queried using \f[V]rtcGetDeviceError\f[R]. .SS SEE ALSO .PP [rtcGetGeometryFirstHalfEdge], [rtcGetGeometryFace], [rtcGetGeometryOppositeHalfEdge], [rtcGetGeometryNextHalfEdge], [rtcGetGeometryPreviousHalfEdge]