有没有在3D环境下定义的jar文件可以用来写Netlogo扩展,比如路径有paycor?
Is there any jar file is defined in 3D environment can be used in writting Netlogo extension, for example the path has pzcor?
我正在通过Java重写一个NetLogo扩展,原来的扩展是
NetlogoAStarPathFinding2D
class路径包含的Netlogo.jar库中的path方法,path的值成员只有pxcor和pycor,见
definition of path in Netlogo.jar
我想重写扩展,目标agent在3D环境中,规划当前agent到目标agent的路径。由于agent位置是[xcor, ycor, zcor],所以path的位置是[pxcor, pycor, pzcor]。所以,Netlogo.jar不能满足我的目的。
有没有在3D环境下定义的jar文件可以用来写Netlogo扩展,比如路径有pzcor?
非常感谢!
您不需要其他罐子。 NetLogo.jar 包含所有 NetLogo 3D。
您只需要使用 Patch3D
而不是 Patch
。
我正在通过Java重写一个NetLogo扩展,原来的扩展是 NetlogoAStarPathFinding2D
class路径包含的Netlogo.jar库中的path方法,path的值成员只有pxcor和pycor,见 definition of path in Netlogo.jar
我想重写扩展,目标agent在3D环境中,规划当前agent到目标agent的路径。由于agent位置是[xcor, ycor, zcor],所以path的位置是[pxcor, pycor, pzcor]。所以,Netlogo.jar不能满足我的目的。
有没有在3D环境下定义的jar文件可以用来写Netlogo扩展,比如路径有pzcor?
非常感谢!
您不需要其他罐子。 NetLogo.jar 包含所有 NetLogo 3D。
您只需要使用 Patch3D
而不是 Patch
。