KOSMIndoorRouting::NavMesh

Search for usage in LXR

KOSMIndoorRouting::NavMesh Class Reference

#include <navmesh.h>

Public Member Functions

 NavMesh (const NavMesh &)
 
 NavMesh (NavMesh &&) noexcept
 
void clear ()
 
bool isValid () const
 
NavMeshoperator= (const NavMesh &)
 
NavMeshoperator= (NavMesh &&) noexcept
 
NavMeshTransform transform () const
 
void writeToFile (const QString &fileName) const
 

Detailed Description

Compiled nav mesh for routing.

Definition at line 21 of file navmesh.h.

Member Function Documentation

◆ clear()

void NavMesh::clear ( )

Definition at line 48 of file navmesh.cpp.

◆ isValid()

bool NavMesh::isValid ( ) const
nodiscard

Returns true if the nav mesh is neither null (ie.

not built) and hasn't been invalidated by realtime data changes. The latter implies that this can change on existing instances.

Definition at line 43 of file navmesh.cpp.

◆ transform()

NavMeshTransform NavMesh::transform ( ) const
nodiscard

Definition at line 53 of file navmesh.cpp.

◆ writeToFile()

void NavMesh::writeToFile ( const QString & fileName) const

Write nav mesh data to the given file.

Uses the file format used by the Recast demo, so this is primarily for debugging.

Definition at line 58 of file navmesh.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:55:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.