|
WSF
|
#include "WsfPathFinder.hpp"#include <cassert>#include <cmath>#include <cstdio>#include <iomanip>#include <memory>#include "UtInput.hpp"#include "UtInputBlock.hpp"#include "UtLog.hpp"#include "UtMath.hpp"#include "UtMemory.hpp"#include "UtRandom.hpp"#include "WsfGeoPoint.hpp"#include "WsfMover.hpp"#include "WsfNavigationMesh.hpp"#include "WsfObject.hpp"#include "WsfObjectTypeList.hpp"#include "WsfPath.hpp"#include "WsfPlatform.hpp"#include "WsfRoute.hpp"#include "WsfRouteMover.hpp"#include "WsfRouteTypes.hpp"#include "WsfScenario.hpp"#include "WsfSimulation.hpp"#include "WsfTerrainPathFinder.hpp"#include "WsfZone.hpp"#include "WsfZoneDefinition.hpp"#include "WsfZoneSet.hpp"#include "WsfZoneTypes.hpp"#include "script/WsfScriptContext.hpp"#include "script/WsfScriptManager.hpp"
Functions | |
| UT_DEFINE_SCRIPT_METHOD (WsfScriptPathFinderClass, WsfPathFinder, FindClosestPointOnEdge, 1, "WsfGeoPoint", "WsfGeoPoint") | |
| UT_DEFINE_SCRIPT_METHOD (WsfScriptPathFinderClass, WsfPathFinder, FindClosestValidPoint, 1, "WsfGeoPoint", "WsfGeoPoint") | |
| UT_DEFINE_SCRIPT_METHOD (WsfScriptPathFinderClass, WsfPathFinder, NearEndOfPath, 2, "bool", "WsfPlatform, double") | |
| UT_DEFINE_SCRIPT_METHOD (WsfScriptPathFinderClass, WsfPathFinder, RandomLocation, 0, "WsfGeoPoint", "") | |
| UT_DEFINE_SCRIPT_METHOD (WsfScriptPathFinderClass, WsfPathFinder, SetDebugEnabled, 1, "void", "bool") | |
| UT_DEFINE_SCRIPT_METHOD (WsfScriptPathFinderClass, WsfPathFinder, DebugEnabled, 0, "bool", "") | |
| UT_DEFINE_SCRIPT_METHOD (WsfScriptPathFinderClass, WsfPathFinder, DebugDrawGrid, 0, "void", "") | |
| UT_DEFINE_SCRIPT_METHOD (WsfScriptPathFinderClass, WsfPathFinder, DebugDrawZones, 0, "void", "") | |
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptPathFinderClass | , |
| WsfPathFinder | , | ||
| DebugDrawGrid | , | ||
| 0 | , | ||
| "void" | , | ||
| "" | ) |
References WsfNavigationMesh::DebugDrawMesh(), and WsfNavigationMesh::GetNumCells().
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptPathFinderClass | , |
| WsfPathFinder | , | ||
| DebugDrawZones | , | ||
| 0 | , | ||
| "void" | , | ||
| "" | ) |
References WsfNavigationMesh::DebugDrawZones().
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptPathFinderClass | , |
| WsfPathFinder | , | ||
| DebugEnabled | , | ||
| 0 | , | ||
| "bool" | , | ||
| "" | ) |
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptPathFinderClass | , |
| WsfPathFinder | , | ||
| FindClosestPointOnEdge | , | ||
| 1 | , | ||
| "WsfGeoPoint" | , | ||
| "WsfGeoPoint" | ) |
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptPathFinderClass | , |
| WsfPathFinder | , | ||
| FindClosestValidPoint | , | ||
| 1 | , | ||
| "WsfGeoPoint" | , | ||
| "WsfGeoPoint" | ) |
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptPathFinderClass | , |
| WsfPathFinder | , | ||
| NearEndOfPath | , | ||
| 2 | , | ||
| "bool" | , | ||
| " | WsfPlatform, | ||
| double" | ) |
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptPathFinderClass | , |
| WsfPathFinder | , | ||
| RandomLocation | , | ||
| 0 | , | ||
| "WsfGeoPoint" | , | ||
| "" | ) |
| UT_DEFINE_SCRIPT_METHOD | ( | WsfScriptPathFinderClass | , |
| WsfPathFinder | , | ||
| SetDebugEnabled | , | ||
| 1 | , | ||
| "void" | , | ||
| "bool" | ) |