@Test public void testLoadNavMesh() { TriangleGraph graph = navMesh.getGraph(); System.out.println(String.format("三角形个数：%d 所有边%s 共享边：%d 独立边：%d", graph.getTriangleCont(), graph.getNumTotalEdges(), graph.getNumConnectedEdges(), graph.getNumDisconnectedEdges())); }
public TriangleGraph getGraph() { return graph; }
TriangleNavMesh extends NavMesh { public TriangleGraph getGraph() { return graph; } }
TriangleNavMesh extends NavMesh { public TriangleGraph getGraph() { return graph; } TriangleNavMesh(String navMeshStr);  TriangleNavMesh(String navMeshStr,int scale); }
TriangleNavMesh extends NavMesh { public TriangleGraph getGraph() { return graph; } TriangleNavMesh(String navMeshStr);  TriangleNavMesh(String navMeshStr,int scale); TriangleGraph getGraph(); TriangleHeuristic getHeuristic(); IndexedAStarPathFinder<Triangle> getPathFinder(); List<Vector3> findPath(Vector3 fromPoint, Vector3 toPoint, TrianglePointPath navMeshPointPath); Triangle getTriangle(Vector3 point); Vector3 getPointInPath(float x, float z); }
TriangleNavMesh extends NavMesh { public TriangleGraph getGraph() { return graph; } TriangleNavMesh(String navMeshStr);  TriangleNavMesh(String navMeshStr,int scale); TriangleGraph getGraph(); TriangleHeuristic getHeuristic(); IndexedAStarPathFinder<Triangle> getPathFinder(); List<Vector3> findPath(Vector3 fromPoint, Vector3 toPoint, TrianglePointPath navMeshPointPath); Triangle getTriangle(Vector3 point); Vector3 getPointInPath(float x, float z);  }