SoIntersectingPrimitive(3)
β¨ SoIntersectingPrimitive β¨
okay bestie, welcome to SoIntersectingPrimitive(3) from the Library Functions Manual π this is a lil struct page and it's lowkey iconic, let's get into it π«Ά
πΈ NAME πΈ
SoIntersectingPrimitive β it's a struct, and it's holding collision information π₯ that's literally the whole job, no cap.
π SYNOPSIS π
#include <Inventor/collision/SoIntersectionDetectionAction.h>
β¨ Public Types β¨
so there's this enum, and it's giving choices:
enum PrimitiveType { SEGMENT = 2, LINE_SEGMENT = 2, TRIANGLE = 3 }
note that SEGMENT and LINE_SEGMENT are both 2 β they're the same value, that's on purpose, not a typo, iykyk π
π Public Attributes π
the actual data slots, periodt:
SoPath * pathenum SoIntersectingPrimitive::PrimitiveType typeSbVec3f vertex [3]SbVec3f xf_vertex [3]
π¦ Detailed Description π¦
so. struct with collision information. that's the vibe π
this struct gets passed to the collision callback that your application programmer registered, and it's carrying the tea about which primitives are intersecting each other π it's literally the little messenger of "bestie these two things are touching" π«
π Author π
Generated automatically by Doxygen for Coin from the source code. π€β¨ (yes the robots wrote it, and honestly? they ate.)
and that's a wrap, bestie π this page came from Coin, Version 3.1.3 β mwah, slay, bye ππ«Ά
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms