SoIntersectingPrimitive(3)
β¨ 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]β threeSbVec3fvertices. πΈSbVec3f xf_vertex [3]β threeSbVec3fxf_vertexvalues. π
π« 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
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms