SoIntersectingPrimitive(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

✨ NAME ✨

SoIntersectingPrimitive β€” it’s a struct that carries collision information. πŸ’₯ Coin manual page for SoIntersectingPrimitive(3), bestie.


✨ SYNOPSIS ✨

okay so first, include this:

#include <Inventor/collision/SoIntersectionDetectionAction.h>

πŸ’– Public Types πŸ’–

The enum is called PrimitiveType, and it looks exactly like this:

enum PrimitiveType { SEGMENT = 2, LINE_SEGMENT = 2, TRIANGLE = 3 }

So the values are SEGMENT = 2, LINE_SEGMENT = 2, and TRIANGLE = 3. Yep, SEGMENT and LINE_SEGMENT are both 2 β€” iconic twins, not a typo from me. πŸ’…

πŸŽ€ Public Attributes πŸŽ€

  • SoPath * path β€” a path, obviously. πŸ¦‹
  • enum SoIntersectingPrimitive::PrimitiveType type β€” the primitive type. ✨
  • SbVec3f vertex [3] β€” three SbVec3f vertices. 🌸
  • SbVec3f xf_vertex [3] β€” three SbVec3f xf_vertex values. πŸ’–

πŸ’« Detailed Description πŸ’«

Struct with collision information. 🫢

This struct is passed to the collision callback registered by the application programmer. It contains information about which primitives are intersecting each other. So it’s literally the messenger carrying the collision tea. 😭πŸ”₯


🌸 Author 🌸

Generated automatically by Doxygen for Coin from the source code. πŸ€–βœ¨


Coin manual page for SoIntersectingPrimitive(3), version 4.0.10, dated Thu Jun 25 2026 00:00:00. Stay slaying, bestie. πŸ’–πŸ‘‘

πŸ“¦ where this page comes from