Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
SoIntersectingPrimitive Struct Reference

Struct with collision information. More...

#include <Inventor/collision/SoIntersectionDetectionAction.h>

Public Types

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

Public Attributes

enum SoIntersectingPrimitive::PrimitiveType type
SbVec3f vertex [3]
SbVec3f xf_vertex [3]

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.

The documentation for this struct was generated from the following file: