Kaim::HalfEdgeIntersection Class Reference

Kaim::HalfEdgeIntersection Class Reference

#include <halfedgeintersection.h>

Class Description

This class represents an intersection between an NavHalfEdge and a ray (within a RayCastQuery or a RayCanGoQuery, carried out against the NavMesh).

When you conduct a RayCastQuery or a RayCanGoQuery against a NavMesh, you can set up the QueryDynamicOutputMode for the query to record a HalfEdgeIntersection for each different NavHalfEdge crossed by the ray. You can then iterate through these HalfEdgeIntersection to make different types of calculations based on theses different NavTag As an example, their are used to clamp the path on the NavMesh.we retrieve the HalfEdgeIntersection along the Path by performing queries along each PathEdge and we process them.

Public Attributes

NavHalfEdgePtr m_navHalfEdgePtr
 Records the NavHalfEdge crossed by this sub-segment. More...
 
Vec3f m_intersectionPos3f
 Records the intersections Between the ray and the halfEdge. More...
 

Member Data Documentation

Vec3f Kaim::HalfEdgeIntersection::m_intersectionPos3f

Records the intersections Between the ray and the halfEdge.

NavHalfEdgePtr Kaim::HalfEdgeIntersection::m_navHalfEdgePtr

Records the NavHalfEdge crossed by this sub-segment.


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