WO2016180218A1 - Method for generating track line vertex sequence, terminal and server - Google Patents

Method for generating track line vertex sequence, terminal and server Download PDF

Info

Publication number
WO2016180218A1
WO2016180218A1 PCT/CN2016/080074 CN2016080074W WO2016180218A1 WO 2016180218 A1 WO2016180218 A1 WO 2016180218A1 CN 2016080074 W CN2016080074 W CN 2016080074W WO 2016180218 A1 WO2016180218 A1 WO 2016180218A1
Authority
WO
WIPO (PCT)
Prior art keywords
vertex
vertices
trajectory
midpoint
starting point
Prior art date
Application number
PCT/CN2016/080074
Other languages
French (fr)
Chinese (zh)
Inventor
谢思远
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2016180218A1 publication Critical patent/WO2016180218A1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/573Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact

Definitions

  • the present invention relates to the field of data processing, and in particular, to a method, terminal and server for generating a sequence of trajectory vertices.
  • a method of generating a sequence of trajectory vertices comprising the steps of:
  • the vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
  • a terminal comprising a non-volatile storage medium and a processor, wherein the non-volatile storage medium stores instructions that, when executed by the processor, cause the processor to perform the following steps:
  • the vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
  • a server comprising a non-volatile storage medium and a processor, wherein the non-volatile storage medium stores instructions that, when executed by the processor, cause the processor to perform the following steps:
  • the vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
  • the method, the terminal and the server for generating a trajectory sequence of the trajectory line generate a midpoint system vertex set according to the vertices of the trajectory of the trajectory mesh, and sort the vertices of the vertex of the midpoint path to obtain a trajectory sequence of the trajectory line, thereby generating a trajectory line. It realizes automatic generation of trajectory lines according to the trajectory grid, without manual drawing, saving labor costs and improving development efficiency.
  • FIG. 1 is a flow chart showing a method for generating a sequence of trajectory vertices in an embodiment
  • FIG. 2 is a schematic diagram of a trajectory grid
  • Figure 3 is a schematic diagram of a vertex of a track
  • FIG. 4 is a schematic diagram of a trajectory path in a trajectory grid
  • FIG. 5 is a specific flowchart of generating a midpoint system vertex set according to a vertices of a trajectory of a trajectory grid in one embodiment
  • FIG. 6 is a specific flowchart of generating a midpoint system vertex set according to a vertex of a trajectory of a trajectory grid in another embodiment
  • FIG. 7 is a specific flowchart of sorting vertices of a vertex of a midpoint path to obtain a sequence of vertices of a trajectory line in one embodiment
  • FIG. 8 is a specific flowchart of sorting vertices of a vertex of a midpoint path to obtain a sequence of vertices of a trajectory line in another embodiment
  • Figure 9 is a schematic diagram of a grid of tracks made on an arched road surface
  • Figure 10 is an enlarged schematic view of the trajectory grid of Figure 9;
  • FIG. 11 is a schematic diagram of a trajectory sequence of a trajectory line generated by a method for generating a trajectory of a trajectory line;
  • Figure 12 is a block diagram showing the structure of an apparatus for generating a sequence of trajectory vertices in one embodiment
  • Figure 13 is a block diagram showing the internal structure of a generation module in an embodiment
  • Figure 14 is a block diagram showing the internal structure of the sorting module in one embodiment
  • Figure 15 is a block diagram of the internal structure of the terminal.
  • Figure 16 is a block diagram showing the internal structure of the server.
  • FIG. 1 is a flow chart showing a method of generating a sequence of trajectory vertices in one embodiment. As shown in FIG. 1, the method for generating a sequence of trajectory vertices includes the following steps:
  • Step 102 Acquire a trajectory grid vertex set.
  • the trajectory grid is an infinite number of triangles.
  • the trajectory mesh (Mesh) is a set of vertices of a 3D (three-dimensional) model, and contains three-dimensional coordinate data of each vertex. Get the vertices in the trajectory grid and add the vertices to the trajectory grid vertex set
  • FIG. 2 is a schematic diagram of a trajectory grid. As shown in Figure 2, the trajectory grid is combined by an infinite number of triangles.
  • Figure 3 is a schematic diagram of the vertices of the track, and the black dots in Figure 3 are the vertices of the track.
  • Step 104 Generate a midpoint path vertex set according to the vertex of the trajectory of the trajectory.
  • Each trajectory grid includes two trajectory paths. As shown in FIG. 4, the trajectory grid includes two trajectory paths B0->A0 and B1->A1, where point A is the midpoint of A0 and A1, and point B It is the midpoint of B0 and B1. In order to generate the trajectory, the midpoint path B->A is required.
  • a trajectory is a curve generated by a series of ordered vertices plus a spline algorithm. The trajectory can be connected to the vertices of the line.
  • the midpoint is obtained by extracting the vertices from the vertices of the trajectory grid, and traversing all the vertices in the vertices of the trajectory grid to generate a midpoint path vertex set.
  • the midpoint path vertex set includes the midpoint.
  • Step 106 Sort the vertex of the midpoint path vertex to obtain a trajectory line vertex sequence.
  • the starting point of the trajectory line is selected from the vertices of the vertices of the midpoint path, and then the next vertice adjacent to the starting point is selected according to the starting point of the trajectory line, and then the adjacent next vertice is taken as a new starting point, and so on, forming a trajectory line vertice sequence.
  • the method for generating a trajectory sequence of the trajectory line generates a vertices of the midpoint path according to the vertices of the vertices of the trajectory grid, and sorts the vertices of the vertices of the midpoint path to obtain a trajectory sequence of the trajectory line, thereby generating a trajectory line
  • the grid automatically generates trajectories, eliminating the need for manual drawing, saving labor costs and improving development efficiency.
  • FIG. 5 is a specific flowchart of generating a midpoint system vertex set according to a vertex of a trajectory of a trajectory grid in one embodiment. As shown in FIG. 5, the generating a midpoint path vertex set according to the vertex of the trajectory of the trajectory of the trajectory includes the following steps:
  • Step 502 initializing an empty first set.
  • trajectory grid vertex set A and the empty first set B may be initialized first.
  • Step 504 extracting vertices sequentially from the vertices of the trajectory grid.
  • an arbitrary vertex P is sequentially taken out from the trajectory grid vertex set A.
  • Step 506 Determine whether a distance between the vertex and the extracted vertex in the first set is less than a set pitch value. If yes, execute step 508. If no, execute step 510.
  • the distance between the vertex P′ and the extracted vertex P is less than the set pitch value, and the vertex P′ in the first set B is updated to the midpoint of the vertex P′ and the vertex P; If there is no distance between the vertex P' and the extracted vertex P in the first set B is less than the set pitch value, the vertex P is added to the first set B.
  • the spacing between any two points before and after the one-sided trajectory path is greater than the set spacing value.
  • the set spacing value is 1 meter. Refer to Figure 4, ie
  • > 1&&
  • > 1. Using this property, it can be found that 2 points with a pitch of less than 1 meter are the corresponding points on the two paths, which is reflected in FIG. 4 as
  • the set pitch value is determined according to the spacing between any two points before and after the one-sided trajectory of the trajectory grid.
  • Step 508 Update the vertex in the first set to the vertex in the first set and the midpoint of the fetched vertex.
  • the vertex in the first set that is smaller than the set pitch value from the vertex extracted from the vertex mesh vertex set is updated to be smaller than the set in the first set and the vertex taken from the track mesh vertex set is smaller than the set.
  • the vertex of the spacing value is the midpoint of the extracted vertex.
  • Step 510 adding the extracted vertex to the first set.
  • the vertices taken from the vertices of the trajectory grid are added to the first set.
  • Step 512 traversing the vertices of the vertices of the trajectory grid, and using the obtained first set as a set of vertices of the midpoint path.
  • the above verifies that the vertex in the first set is updated to the vertex by comparing the vertex of the vertex of the trajectory grid with the vertex distance in the first set to determine the presence of the vertex in the first set and the vertex taken from the vertex of the trajectory grid.
  • a set of midpoint path vertices is generated, and the calculation method is simple and the calculation amount is small.
  • FIG. 6 is a specific flowchart of generating a midpoint system vertex set according to a vertices of a trajectory of a trajectory grid in another embodiment.
  • the generating a midpoint path vertex set according to the vertex of the trajectory of the trajectory of the trajectory includes the following steps:
  • Step 602 initializing an empty first set.
  • trajectory grid vertex set A and the empty first set B may be initialized first.
  • Step 604 it is determined whether the trajectory grid vertex set is empty, and if so, the process ends. If not, step 606 is performed.
  • step 606 the vertices are sequentially taken out from the vertices of the trajectory grid, and the extracted vertices are removed.
  • arbitrary vertex P is sequentially taken out from the trajectory grid vertex set A, and the vertex P is removed from the trajectory mesh vertex set A.
  • step 608 it is determined whether the distance between the vertex and the extracted vertex in the first set is less than the set pitch value. If yes, step 608 is performed, and if no, step 610 is performed.
  • the distance between the vertex P′ and the extracted vertex P is less than the set pitch value, and the vertex P′ in the first set B is updated to the midpoint of the vertex P′ and the vertex P; If there is no distance between the vertex P' and the extracted vertex P in the first set B is less than the set pitch value, the vertex P is added to the first set B.
  • the spacing between any two points before and after the one-sided trajectory path is greater than the set spacing value.
  • the set spacing value is 1 meter. Refer to Figure 3, ie
  • > 1&&
  • > 1. Using this property, it can be found that 2 points with a pitch of less than 1 meter are the corresponding points on the two paths, which is reflected in FIG. 3 as
  • the set pitch value is determined according to the spacing between any two points before and after the one-sided trajectory of the trajectory grid.
  • Step 610 Update the vertex in the first set to the vertex in the first set and the midpoint of the fetched vertex, and then return to step 604.
  • the vertex in the first set that is smaller than the set pitch value from the vertex extracted from the vertex mesh vertex set is updated to be smaller than the set in the first set and the vertex taken from the track mesh vertex set is smaller than the set.
  • the vertex of the spacing value is the midpoint of the extracted vertex.
  • Step 612 adding the extracted vertex to the first set, and then returning to step 604.
  • the vertices taken from the vertices of the trajectory grid are added to the first set.
  • the vertex of the vertices of the trajectory grid is traversed, and the obtained first set is used as a set of vertices of the midpoint path.
  • the above verifies that the vertex in the first set is updated to the vertex by comparing the vertex of the vertex of the trajectory grid with the vertex distance in the first set to determine the presence of the vertex in the first set and the vertex taken from the vertex of the trajectory grid.
  • the midpoint of the extracted vertex thus generating the midpoint path vertex set, the calculation method is simple, the calculation amount is small, by judging whether the trajectory grid vertex set is empty, the empty is ended, the loop is automatically jumped out, and the operation is convenient.
  • FIG. 7 is a specific flowchart of sorting vertices of a vertex of a midpoint path to obtain a sequence of vertices of a trajectory line in one embodiment. As shown in FIG. 7, the steps of sorting the vertex of the vertex of the midpoint path to obtain the sequence of the vertex of the track line include:
  • Step 702 Select a starting point of the trajectory line from the vertices of the midpoint path.
  • the starting point of selecting the trajectory line from the vertices of the midpoint path includes: selecting the vertice with the smallest Z coordinate in the three-dimensional coordinates as the starting point of the trajectory line from the vertices of the midpoint path.
  • the vertices generally extend in the positive direction of the Z axis.
  • the vertices with the smallest Z coordinate in the set of midpoint paths can be used as the starting point of the trajectory line, and the starting point of the trajectory line is S.
  • the vertex S is removed from the midpoint path vertex and added to the tail of the sequence C.
  • Step 704 traversing the set of vertex of the midpoint path, searching for the vertex closest to the starting point, and using the vertex closest to the starting point as the next adjacent vertex of the starting point.
  • the vertices of the midpoint path vertex are traversed to find the vertex P closest to the starting point S, and the vertex P is added to the sequence C in the next vertex adjacent to the starting point S.
  • Step 706 updating the closest vertex to a new starting point.
  • the starting point S is updated to the vertex P, that is, the vertex P is taken as a new starting point, and then the vertex of the vertex of the midpoint path is continuously traversed, the vertex P closest to the new starting point is searched, and the vertex P is taken as a new starting point.
  • the next adjacent vertex is added to sequence C.
  • Step 708 traversing the vertex of the vertex of the midpoint path to form a sequence of trajectory vertex.
  • FIG. 8 is a specific flowchart of sorting vertices of a vertex of a midpoint path to obtain a sequence of vertices of a trajectory line in another embodiment. As shown in FIG. 8, the steps of sorting the vertex of the vertex of the midpoint path to obtain the sequence of the vertex of the track line include:
  • Step 802 selecting a starting point of the trajectory line from the vertices of the midpoint path.
  • the step of extracting the starting point of the trajectory from the vertices of the midpoint path comprises: selecting, from the vertices of the midpoint path, the vertices with the smallest Z coordinate in the three-dimensional coordinates as the starting point of the trajectory.
  • the vertices generally extend in the positive direction of the Z axis.
  • the vertices with the smallest Z coordinate in the set of midpoint paths can be used as the starting point of the trajectory line, and the starting point of the trajectory line is S.
  • the vertex S is removed from the midpoint path vertex and added to the tail of the sequence C.
  • step 804 it is determined whether the midpoint path vertex set is empty. If yes, the process ends. If not, step 806 is performed.
  • Step 806 traversing the set of vertex of the midpoint path, searching for the vertex closest to the starting point, taking the vertex closest to the starting point as the next adjacent vertex of the starting point, and removing the vertex from the midpoint path vertex The nearest vertex.
  • the vertices of the midpoint path vertex are traversed to find the vertex P closest to the starting point S, and the vertex P is added to the sequence C in the next vertex adjacent to the starting point S. Removes the vertex closest to the starting point from the midpoint path vertex set.
  • Step 808 updating the nearest vertex to a new starting point.
  • the starting point S is updated to the vertex P, that is, the vertex P is taken as a new starting point, and then the vertex of the vertex of the midpoint path is continuously traversed, the vertex P closest to the new starting point is searched, and the vertex P is taken as a new starting point.
  • the next adjacent vertex is added to sequence C.
  • Step 810 traversing the vertex of the vertex of the midpoint path to form a sequence of trajectory vertex.
  • the above traversing the midpoint path vertex by selecting the starting point of the trajectory line and finding the vertex closest to the starting point of the trajectory line as the next vertice adjacent to the starting point, and then updating the found next adjacent vertex as a new starting point. Concentrate the vertices to form a sequence of trajectory vertices.
  • the calculation method is simple and the calculation amount is small. If the vertex set of the midpoint path is empty, it ends, and the loop is automatically jumped out, which is convenient to operate.
  • FIG. 10 is an enlarged schematic view of the trajectory grid of FIG. 9. As can be seen in FIG. 10, the trajectory grid is formed by splicing one triangle.
  • 11 is a schematic diagram of a trajectory sequence of trajectory lines generated by the method for generating a trajectory sequence of trajectory lines, as shown in FIG. 11, the trajectory sequence of trajectory lines obtained by gradually increasing the Z coordinate of the trajectory of the trajectory line, black in the figure The dot is the track point.
  • Figure 12 is a block diagram showing the structure of an apparatus for generating a sequence of trajectory vertices in one embodiment.
  • the apparatus for generating a sequence of trajectory vertices includes an obtaining module 1210, a generating module 1220, and a sorting module 1230. among them:
  • the obtaining module 1210 is configured to acquire a trajectory grid vertex set.
  • the trajectory grid is an infinite number of triangles.
  • the trajectory grid is a set of vertices of a 3D model, and contains three-dimensional coordinate data of each vertex. Get the vertices in the trajectory grid and add the vertices to the trajectory grid vertex set
  • the generating module 1220 is configured to generate a midpoint path vertex set according to the vertices of the trajectory mesh vertex.
  • Each trajectory grid includes two trajectory paths. As shown in FIG. 4, the trajectory grid includes two trajectory paths B0->A0 and B1->A1, where point A is the midpoint of A0 and A1, and point B It is the midpoint of B0 and B1.
  • the midpoint path B->A is required.
  • a trajectory is a curve generated by a series of ordered vertices plus a spline algorithm. The trajectory can be connected to the vertices of the line.
  • the midpoint is obtained by extracting the vertices from the vertices of the trajectory grid, and traversing all the vertices in the vertices of the trajectory grid to generate a midpoint path vertex set.
  • the midpoint path vertex set includes the midpoint.
  • the sorting module 1230 is configured to sort the vertex of the vertex of the midpoint path to obtain a sequence of trajectory vertex.
  • the starting point of the trajectory line is selected from the vertices of the vertices of the midpoint path, and then the next vertice adjacent to the starting point is selected according to the starting point of the trajectory line, and then the adjacent next vertice is taken as a new starting point, and so on, forming a trajectory line vertice sequence.
  • the device for generating a trajectory sequence of the trajectory line generates a vertices of the midpoint path according to the vertices of the vertices of the trajectory mesh, and sorts the vertices of the vertices of the midpoint path to obtain a trajectory sequence of the trajectory line, thereby generating a trajectory line
  • the grid automatically generates trajectories, eliminating the need for manual drawing, saving labor costs and improving development efficiency.
  • Figure 13 is a block diagram showing the internal structure of a generation module in one embodiment.
  • the generating module 1220 includes an initializing unit 1310, a fetching unit 1320, a first judging unit 1330, an updating unit 1340, and an traversing unit 1350. among them:
  • the initialization unit 1310 is for initializing an empty first set. Specifically, the trajectory grid vertex set A and the empty first set B may be initialized first.
  • the fetching unit 1320 is configured to sequentially fetch vertices from the vertices of the trajectory grid. Specifically, an arbitrary vertex P is sequentially taken out from the trajectory grid vertex set A.
  • the first determining unit 1330 is configured to determine whether a distance between the vertices in the first set and the extracted vertices is less than a set pitch value.
  • the distance between the vertex P′ and the extracted vertex P is less than the set pitch value, and the vertex P′ in the first set B is updated to the midpoint of the vertex P′ and the vertex P; If there is no distance between the vertex P' and the extracted vertex P in the first set B is less than the set pitch value, the vertex P is added to the first set B.
  • the spacing between any two points before and after the one-sided trajectory path is greater than the set spacing value.
  • the set spacing value is 1 meter. Refer to Figure 4, ie
  • > 1&&
  • > 1. Using this property, it can be found that 2 points with a pitch of less than 1 meter are the corresponding points on the two paths, which is reflected in FIG. 4 as
  • the set pitch value is determined according to the spacing between any two points before and after the one-sided trajectory of the trajectory grid.
  • the updating unit 1340 is configured to: when it is determined that the distance between the vertices in the first set and the extracted vertices is less than a set pitch value, update the vertices in the first set to the vertices in the first set And extracting the extracted vertex into the first set, and determining that a distance between the vertices in the first set and the extracted vertices is less than a set pitch value.
  • the vertex in the first set that is smaller than the set pitch value from the vertex extracted from the vertex mesh vertex set is updated to be smaller than the set in the first set and the vertex taken from the track mesh vertex set is smaller than the set.
  • the vertex of the spacing value is the midpoint of the extracted vertex.
  • the vertices taken from the vertices of the trajectory grid are added to the first set.
  • the traversing unit 1350 is configured to traverse the vertex of the vertices of the trajectory grid, and the obtained first set is used as a set of vertices of the midpoint path.
  • the above verifies that the vertex in the first set is updated to the vertex by comparing the vertex of the vertex of the trajectory grid with the vertex distance in the first set to determine the presence of the vertex in the first set and the vertex taken from the vertex of the trajectory grid.
  • a set of midpoint path vertices is generated, and the calculation method is simple and the calculation amount is small.
  • the first determining unit 1330 is further configured to determine whether the trajectory grid vertex set is empty before sequentially extracting the vertices from the trajectory mesh vertex set, and if yes, end, if not, The fetching unit 1320 sequentially extracts vertices from the vertices of the trajectory grid and removes the fetched vertices.
  • the determining unit 1330 After updating the vertex in the first set to the midpoint of the vertex in the first set and the fetched vertex, or after adding the fetched vertex to the first set, The determining unit 1330 performs the determination of whether the trajectory grid vertex set is empty.
  • Figure 14 is a block diagram showing the internal structure of the sorting module in one embodiment.
  • the sorting module 1230 includes a selecting unit 1410, a searching unit 1420, an updating unit 1430, a generating unit 1440, a second determining unit 1450, and a removing unit 1460. among them:
  • the selecting unit 1410 is configured to select a starting point of the trajectory line from the vertices of the midpoint path.
  • the selecting unit 1410 is further configured to select, from the vertex of the midpoint path, the vertex with the smallest Z coordinate in the three-dimensional coordinates as the starting point of the trajectory.
  • the vertices generally extend in the positive direction of the Z axis.
  • the vertices with the smallest Z coordinate in the set of midpoint paths can be used as the starting point of the trajectory line, and the starting point of the trajectory line is S. Create an empty sequence C. The vertex S is removed from the midpoint path vertex and added to the tail of the sequence C.
  • the searching unit 1420 is configured to traverse the set of vertex of the midpoint path, find the vertex closest to the starting point, and use the vertex closest to the starting point as the next adjacent vertex of the starting point. Specifically, the vertices of the midpoint path vertex are traversed to find the vertex P closest to the starting point S, and the vertex P is added to the sequence C in the next vertex adjacent to the starting point S.
  • the update unit 1430 is configured to update the closest vertex to a new starting point. Specifically, the starting point S is updated to the vertex P, that is, the vertex P is taken as a new starting point, and then the vertex of the vertex of the midpoint path is continuously traversed, the vertex P closest to the new starting point is searched, and the vertex P is taken as a new starting point. The next adjacent vertex is added to sequence C.
  • the generating unit 1440 is configured to form a trajectory line vertex sequence by traversing the vertex of the midpoint path vertex.
  • the second determining unit 1450 is configured to determine whether the midpoint path vertex set is empty after the starting point of the trajectory line is selected from the midpoint path vertex set, and if yes, end, if not, the searching unit 1420 traverses the midpoint path A vertex set that finds the vertex closest to the starting point, and the vertex closest to the starting point is the next adjacent vertex of the starting point.
  • the removing unit 1460 is configured to remove the closest vertices from the midpoint path vertex set.
  • the above traversing the midpoint path vertex by selecting the starting point of the trajectory line and finding the vertex closest to the starting point of the trajectory line as the next vertice adjacent to the starting point, and then updating the found next adjacent vertex as a new starting point. Concentrate the vertices to form a sequence of trajectory vertices.
  • the calculation method is simple and the calculation amount is small. If the vertex set of the midpoint path is empty, it ends, and the loop is automatically jumped out, which is convenient to operate.
  • Figure 15 is a block diagram showing the internal structure of the terminal.
  • the terminal includes a processor, a storage medium, a memory, and a network interface connected through a system bus.
  • the storage medium of the terminal stores an operating system, and further includes a device for generating a sequence of vertices of the trajectory, and the device for generating a sequence of vertices of the trajectory is used to implement a method for generating a sequence of vertices of the trajectory.
  • the processor is used to provide computing and control capabilities to support the operation of the entire terminal.
  • the memory in the terminal provides an environment for the operation of the device in the storage medium to generate a sequence of trajectory vertices, and the network interface is used for network communication with the server, such as sending a request to the server, receiving data returned by the server, and the like.
  • FIG. 16 is a block diagram showing the internal structure of the server.
  • the server includes a processor, a storage medium, a memory, and a network interface connected through a system bus.
  • the storage medium of the server stores an operating system, a database, and a device for generating vertices of the trajectory, and the data is stored in the database, and the device for generating the vertices of the trajectory is used to implement a method for generating a trajectory sequence of the trajectory for the server.
  • the server's processor is used to provide computing and control capabilities that support the operation of the entire server.
  • the server's memory provides an environment for the operation of the device that generates the trajectory vertices in the storage medium.
  • the network interface of the server is used to communicate with an external terminal via a network connection, such as receiving a request sent by the terminal and returning data to the terminal.
  • the server can be implemented with a stand-alone server or a server cluster consisting of multiple servers.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

Provided are a method for generating a track line vertex sequence, a terminal and a server, wherein the method comprises the following steps of: acquiring a track grid vertex set; generating a midpoint path vertex set according to vertexes in the track grid vertex set; and sorting midpoint path vertexes to obtain a track line vertex sequence.

Description

生成轨迹线顶点序列的方法、终端和服务器Method, terminal and server for generating trajectory sequence of trajectory
本申请要求于2015年5月12日提交中国专利局、申请号为201510240856.0、发明名称为“生成轨迹线顶点序列的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510240856.0, entitled "Method and Apparatus for Generating Trajectory Sequences of Vertex Lines", filed on May 12, 2015, the entire contents of which are incorporated herein by reference. In the application.
【技术领域】[Technical Field]
本发明涉及数据处理领域,特别是涉及一种生成轨迹线顶点序列的方法、终端和服务器。The present invention relates to the field of data processing, and in particular, to a method, terminal and server for generating a sequence of trajectory vertices.
【背景技术】【Background technique】
随着网络技术的发展,网络已成为人们生活的一部分,为人们生活带来了更多的服务和便捷。各种应用服务应运而生,例如3D跑酷类游戏。在3D跑酷类游戏的开发中,虚拟角色需要按照既定赛道移动,该既定赛道移动需要借助一个工具,即轨迹线。不同的赛道对应不同的轨迹线,每制作一条新赛道需要同时制作轨迹网格,传统的方式是依赖人工制作轨迹网格和轨迹线,导致开发效率低下。With the development of network technology, the network has become a part of people's lives, bringing more services and convenience to people's lives. Various application services have emerged, such as 3D parkour games. In the development of 3D parkour games, the virtual characters need to move according to the established track, and the established track movement requires a tool, that is, a trajectory. Different tracks correspond to different trajectories. Each new track needs to make a trajectory grid at the same time. The traditional way is to rely on artificially making trajectory grids and trajectories, resulting in low development efficiency.
【发明内容】 [Summary of the Invention]
基于此,有必要针对传统的依靠人工制作轨迹线,导致开发效率低下的问题,提供一种生成轨迹线顶点序列的方法、终端和服务器,能节省人力成本,提高开发效率。Based on this, it is necessary to provide a method, terminal and server for generating a trajectory sequence of trajectory lines for the traditional problem of relying on artificially making trajectories, resulting in low development efficiency, which can save labor costs and improve development efficiency.
一种生成轨迹线顶点序列的方法,包括以下步骤:A method of generating a sequence of trajectory vertices, comprising the steps of:
获取轨迹网格顶点集;Obtain a trajectory grid vertex set;
根据所述轨迹网格顶点集中顶点生成中点路径顶点集;Generating a midpoint system vertex set according
将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列。The vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
一种终端,包括非易失性存储介质及处理器,所述非易失性存储介质中储存有指令,所述指令被所述处理器执行时,可使得所述处理器执行以下步骤:A terminal, comprising a non-volatile storage medium and a processor, wherein the non-volatile storage medium stores instructions that, when executed by the processor, cause the processor to perform the following steps:
获取轨迹网格顶点集;Obtain a trajectory grid vertex set;
根据所述轨迹网格顶点集中顶点生成中点路径顶点集;Generating a midpoint system vertex set according
将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列。The vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
一种服务器,包括非易失性存储介质及处理器,所述非易失性存储介质中储存有指令,所述指令被所述处理器执行时,可使得所述处理器执行以下步骤:A server comprising a non-volatile storage medium and a processor, wherein the non-volatile storage medium stores instructions that, when executed by the processor, cause the processor to perform the following steps:
获取轨迹网格顶点集;Obtain a trajectory grid vertex set;
根据所述轨迹网格顶点集中顶点生成中点路径顶点集;Generating a midpoint system vertex set according
将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列。The vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
上述生成轨迹线顶点序列的方法、终端和服务器,根据轨迹网格顶点集中顶点生成中点路径顶点集,并将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列,即可生成轨迹线,实现了根据轨迹网格自动生成轨迹线,不需人工绘制,节省人工成本,且提高了开发效率。The method, the terminal and the server for generating a trajectory sequence of the trajectory line generate a midpoint system vertex set according to the vertices of the trajectory of the trajectory mesh, and sort the vertices of the vertex of the midpoint path to obtain a trajectory sequence of the trajectory line, thereby generating a trajectory line. It realizes automatic generation of trajectory lines according to the trajectory grid, without manual drawing, saving labor costs and improving development efficiency.
【附图说明】[Description of the Drawings]
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为一个实施例中生成轨迹线顶点序列的方法的流程示意图;1 is a flow chart showing a method for generating a sequence of trajectory vertices in an embodiment;
图2为轨迹网格的示意图;2 is a schematic diagram of a trajectory grid;
图3为轨迹顶点示意图;Figure 3 is a schematic diagram of a vertex of a track;
图4为轨迹网格中轨迹路径示意图;4 is a schematic diagram of a trajectory path in a trajectory grid;
图5为一个实施例中根据轨迹网格顶点集中顶点生成中点路径顶点集的具体流程图;5 is a specific flowchart of generating a midpoint system vertex set according to a vertices of a trajectory of a trajectory grid in one embodiment;
图6为另一个实施例中根据轨迹网格顶点集中顶点生成中点路径顶点集的具体流程图;6 is a specific flowchart of generating a midpoint system vertex set according to a vertex of a trajectory of a trajectory grid in another embodiment;
图7为一个实施例中将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的具体流程图;7 is a specific flowchart of sorting vertices of a vertex of a midpoint path to obtain a sequence of vertices of a trajectory line in one embodiment;
图8为另一个实施例中将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的具体流程图;8 is a specific flowchart of sorting vertices of a vertex of a midpoint path to obtain a sequence of vertices of a trajectory line in another embodiment;
图9为拱形路面上制作轨迹网格示意图;Figure 9 is a schematic diagram of a grid of tracks made on an arched road surface;
图10为图9中轨迹网格放大示意图;Figure 10 is an enlarged schematic view of the trajectory grid of Figure 9;
图11为采用生成轨迹线顶点序列的方法处理后生成的轨迹线顶点序列示意图;11 is a schematic diagram of a trajectory sequence of a trajectory line generated by a method for generating a trajectory of a trajectory line;
图12为一个实施例中生成轨迹线顶点序列的装置的结构框图;Figure 12 is a block diagram showing the structure of an apparatus for generating a sequence of trajectory vertices in one embodiment;
图13为一个实施例中生成模块的内部结构框图;Figure 13 is a block diagram showing the internal structure of a generation module in an embodiment;
图14为一个实施例中排序模块的内部结构框图;Figure 14 is a block diagram showing the internal structure of the sorting module in one embodiment;
图15为终端的内部结构框图;Figure 15 is a block diagram of the internal structure of the terminal;
图16为服务器的内部结构框图。Figure 16 is a block diagram showing the internal structure of the server.
【具体实施方式】 【detailed description】
为了使本发明的目的、技术方案及优顶点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图1为一个实施例中生成轨迹线顶点序列的方法的流程示意图。如图1所示,该生成轨迹线顶点序列的方法,包括以下步骤:1 is a flow chart showing a method of generating a sequence of trajectory vertices in one embodiment. As shown in FIG. 1, the method for generating a sequence of trajectory vertices includes the following steps:
步骤102,获取轨迹网格顶点集。Step 102: Acquire a trajectory grid vertex set.
轨迹网格是无数个三角形。轨迹网格(Mesh)是3D(三维)模型的顶点集,内含各个顶点的三维空间坐标数据。获取轨迹网格中顶点,并将顶点加入到轨迹网格顶点集中。The trajectory grid is an infinite number of triangles. The trajectory mesh (Mesh) is a set of vertices of a 3D (three-dimensional) model, and contains three-dimensional coordinate data of each vertex. Get the vertices in the trajectory grid and add the vertices to the trajectory grid vertex set
图2为轨迹网格的示意图。如图2所示,轨迹网格由无数个三角形组合在一起。图3为轨迹顶点示意图,图3中黑色圆点为轨迹顶点。2 is a schematic diagram of a trajectory grid. As shown in Figure 2, the trajectory grid is combined by an infinite number of triangles. Figure 3 is a schematic diagram of the vertices of the track, and the black dots in Figure 3 are the vertices of the track.
步骤104,根据该轨迹网格顶点集中顶点生成中点路径顶点集。Step 104: Generate a midpoint path vertex set according to the vertex of the trajectory of the trajectory.
每个轨迹网格都包括2条轨迹路径,如图4所示,轨迹网格包括B0->A0及B1->A1两条轨迹路径,其中,点A为A0和A1的中点,点B为B0和B1的中点。为了生成轨迹线,需要中点路径B->A。轨迹线是由一系列有序的顶点加上样条曲线算法生成的一种曲线。轨迹线可以连成线的顶点构成的。Each trajectory grid includes two trajectory paths. As shown in FIG. 4, the trajectory grid includes two trajectory paths B0->A0 and B1->A1, where point A is the midpoint of A0 and A1, and point B It is the midpoint of B0 and B1. In order to generate the trajectory, the midpoint path B->A is required. A trajectory is a curve generated by a series of ordered vertices plus a spline algorithm. The trajectory can be connected to the vertices of the line.
通过从轨迹网格顶点集中取出顶点进行处理得到中点,遍历完轨迹网格顶点集中所有顶点,可生成中点路径顶点集。中点路径顶点集中包括中点。The midpoint is obtained by extracting the vertices from the vertices of the trajectory grid, and traversing all the vertices in the vertices of the trajectory grid to generate a midpoint path vertex set. The midpoint path vertex set includes the midpoint.
步骤106,将该中点路径顶点集中顶点进行排序,得到轨迹线顶点序列。Step 106: Sort the vertex of the midpoint path vertex to obtain a trajectory line vertex sequence.
具体的,从中点路径顶点集中顶点选取轨迹线的起点,再根据轨迹线的起点选择起点相邻的下一顶点,再将相邻的下一顶点作为新的起点,如此类推,形成轨迹线顶点序列。Specifically, the starting point of the trajectory line is selected from the vertices of the vertices of the midpoint path, and then the next vertice adjacent to the starting point is selected according to the starting point of the trajectory line, and then the adjacent next vertice is taken as a new starting point, and so on, forming a trajectory line vertice sequence.
上述生成轨迹线顶点序列的方法,根据轨迹网格顶点集中顶点生成中点路径顶点集,并将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列,即可生成轨迹线,实现了根据轨迹网格自动生成轨迹线,不需人工绘制,节省人工成本,且提高了开发效率。The method for generating a trajectory sequence of the trajectory line generates a vertices of the midpoint path according to the vertices of the vertices of the trajectory grid, and sorts the vertices of the vertices of the midpoint path to obtain a trajectory sequence of the trajectory line, thereby generating a trajectory line The grid automatically generates trajectories, eliminating the need for manual drawing, saving labor costs and improving development efficiency.
图5为一个实施例中根据轨迹网格顶点集中顶点生成中点路径顶点集的具体流程图。如图5所示,该根据轨迹网格顶点集中顶点生成中点路径顶点集,包括以下步骤:FIG. 5 is a specific flowchart of generating a midpoint system vertex set according to a vertex of a trajectory of a trajectory grid in one embodiment. As shown in FIG. 5, the generating a midpoint path vertex set according to the vertex of the trajectory of the trajectory of the trajectory includes the following steps:
步骤502,初始化空的第一集合。Step 502, initializing an empty first set.
具体的,可先初始化轨迹网格顶点集A和空的第一集合B。Specifically, the trajectory grid vertex set A and the empty first set B may be initialized first.
步骤504,从该轨迹网格顶点集中依次取出顶点。Step 504, extracting vertices sequentially from the vertices of the trajectory grid.
具体的,从轨迹网格顶点集A中依次取出任意顶点P。Specifically, an arbitrary vertex P is sequentially taken out from the trajectory grid vertex set A.
步骤506,判断在该第一集合中是否存在顶点与该取出的顶点之间距离小于设定的间距值,若是,则执行步骤508,若否,执行步骤510。Step 506: Determine whether a distance between the vertex and the extracted vertex in the first set is less than a set pitch value. If yes, execute step 508. If no, execute step 510.
具体的,在第一集合B中存在顶点P'与取出的顶点P之间距离小于设定的间距值,则将第一集合B中顶点P'更新为顶点P'与顶点P的中点;在第一集合B中不存在顶点P'与取出的顶点P之间距离小于设定的间距值,则将顶点P加入第一集合B中。Specifically, in the first set B, the distance between the vertex P′ and the extracted vertex P is less than the set pitch value, and the vertex P′ in the first set B is updated to the midpoint of the vertex P′ and the vertex P; If there is no distance between the vertex P' and the extracted vertex P in the first set B is less than the set pitch value, the vertex P is added to the first set B.
在轨迹网格中单侧轨迹路径前后任意两点间距大于设定的间距值,例如设定的间距值为1米,参图4,即|A0-B0|>=1&& |A1-B1|>=1。利用此性质,可以发现间距小于1米的2点即为两条路径上对应的点,反映在图4中即是|A0-A1|<1。In the trajectory grid, the spacing between any two points before and after the one-sided trajectory path is greater than the set spacing value. For example, the set spacing value is 1 meter. Refer to Figure 4, ie |A0-B0|>=1&& |A1-B1|>=1. Using this property, it can be found that 2 points with a pitch of less than 1 meter are the corresponding points on the two paths, which is reflected in FIG. 4 as |A0-A1|<1.
设定的间距值是根据轨迹网格单侧轨迹路径前后任意两点间距确定的。The set pitch value is determined according to the spacing between any two points before and after the one-sided trajectory of the trajectory grid.
步骤508,将该第一集合中的顶点更新为该第一集合中的顶点与该取出的顶点的中点。Step 508: Update the vertex in the first set to the vertex in the first set and the midpoint of the fetched vertex.
具体的,将第一集合中的与从轨迹网格顶点集取出的顶点距离小于设定的间距值的顶点更新为该第一集合中的与从轨迹网格顶点集取出的顶点距离小于设定的间距值的顶点与取出的顶点的中点。Specifically, the vertex in the first set that is smaller than the set pitch value from the vertex extracted from the vertex mesh vertex set is updated to be smaller than the set in the first set and the vertex taken from the track mesh vertex set is smaller than the set. The vertex of the spacing value is the midpoint of the extracted vertex.
步骤510,将该取出的顶点加入该第一集合中。Step 510, adding the extracted vertex to the first set.
具体的,将从轨迹网格顶点集中取出的顶点加入第一集合中。Specifically, the vertices taken from the vertices of the trajectory grid are added to the first set.
步骤512,遍历完该轨迹网格顶点集中顶点,将得到的第一集合作为中点路径顶点集。Step 512, traversing the vertices of the vertices of the trajectory grid, and using the obtained first set as a set of vertices of the midpoint path.
本实施例中,每次从轨迹网格顶点集中取出一个顶点,并将该顶点与第一集合中顶点进行比较,采用步骤506、508和510的处理方式进行处理,直到遍历完轨迹网格顶点集中所有的顶点,将得到第一集合中顶点集,然后将第一集合作为中点路径顶点集。In this embodiment, each time a vertex is taken out from the vertices of the trajectory grid, and the vertices are compared with the vertices in the first set, and processed in the processing manners of steps 506, 508, and 510 until the trajectory mesh vertices are traversed. By concentrating all the vertices, you will get the set of vertices in the first set, and then use the first set as the set of vertices in the midpoint path.
上述通过将轨迹网格顶点集中顶点与第一集合中的顶点距离进行比较,判断第一集合中存在顶点与从轨迹网格顶点集中取出的顶点时,将第一集合中的顶点更新为该顶点与取出的顶点的中点,从而生成了中点路径顶点集,计算方法简单,计算量小。The above verifies that the vertex in the first set is updated to the vertex by comparing the vertex of the vertex of the trajectory grid with the vertex distance in the first set to determine the presence of the vertex in the first set and the vertex taken from the vertex of the trajectory grid. With the midpoint of the extracted vertex, a set of midpoint path vertices is generated, and the calculation method is simple and the calculation amount is small.
图6为另一个实施例中根据轨迹网格顶点集中顶点生成中点路径顶点集的具体流程图。如图6所示,该根据轨迹网格顶点集中顶点生成中点路径顶点集,包括以下步骤:FIG. 6 is a specific flowchart of generating a midpoint system vertex set according to a vertices of a trajectory of a trajectory grid in another embodiment. As shown in FIG. 6, the generating a midpoint path vertex set according to the vertex of the trajectory of the trajectory of the trajectory includes the following steps:
步骤602,初始化空的第一集合。Step 602, initializing an empty first set.
具体的,可先初始化轨迹网格顶点集A和空的第一集合B。Specifically, the trajectory grid vertex set A and the empty first set B may be initialized first.
步骤604,判断该轨迹网格顶点集是否为空,若是,则结束,若否,执行步骤606。Step 604, it is determined whether the trajectory grid vertex set is empty, and if so, the process ends. If not, step 606 is performed.
步骤606,从该轨迹网格顶点集中依次取出顶点,并移除该取出的顶点。In step 606, the vertices are sequentially taken out from the vertices of the trajectory grid, and the extracted vertices are removed.
具体的,从轨迹网格顶点集A中依次取出任意顶点P,并从轨迹网格顶点集A中移除顶点P。Specifically, arbitrary vertex P is sequentially taken out from the trajectory grid vertex set A, and the vertex P is removed from the trajectory mesh vertex set A.
步骤608,判断在该第一集合中是否存在顶点与该取出的顶点之间距离小于设定的间距值,若是,则执行步骤608,若否,执行步骤610。In step 608, it is determined whether the distance between the vertex and the extracted vertex in the first set is less than the set pitch value. If yes, step 608 is performed, and if no, step 610 is performed.
具体的,在第一集合B中存在顶点P'与取出的顶点P之间距离小于设定的间距值,则将第一集合B中顶点P'更新为顶点P'与顶点P的中点;在第一集合B中不存在顶点P'与取出的顶点P之间距离小于设定的间距值,则将顶点P加入第一集合B中。Specifically, in the first set B, the distance between the vertex P′ and the extracted vertex P is less than the set pitch value, and the vertex P′ in the first set B is updated to the midpoint of the vertex P′ and the vertex P; If there is no distance between the vertex P' and the extracted vertex P in the first set B is less than the set pitch value, the vertex P is added to the first set B.
在轨迹网格中单侧轨迹路径前后任意两点间距大于设定的间距值,例如设定的间距值为1米,参图3,即|A0-B0|>=1&& |A1-B1|>=1。利用此性质,可以发现间距小于1米的2点即为两条路径上对应的点,反映在图3中即是|A0-A1|<1。In the trajectory grid, the spacing between any two points before and after the one-sided trajectory path is greater than the set spacing value. For example, the set spacing value is 1 meter. Refer to Figure 3, ie |A0-B0|>=1&& |A1-B1|>=1. Using this property, it can be found that 2 points with a pitch of less than 1 meter are the corresponding points on the two paths, which is reflected in FIG. 3 as |A0-A1|<1.
设定的间距值是根据轨迹网格单侧轨迹路径前后任意两点间距确定的。The set pitch value is determined according to the spacing between any two points before and after the one-sided trajectory of the trajectory grid.
步骤610,将该第一集合中的顶点更新为该第一集合中的顶点与该取出的顶点的中点,然后再返回执行步骤604。Step 610: Update the vertex in the first set to the vertex in the first set and the midpoint of the fetched vertex, and then return to step 604.
具体的,将第一集合中的与从轨迹网格顶点集取出的顶点距离小于设定的间距值的顶点更新为该第一集合中的与从轨迹网格顶点集取出的顶点距离小于设定的间距值的顶点与取出的顶点的中点。Specifically, the vertex in the first set that is smaller than the set pitch value from the vertex extracted from the vertex mesh vertex set is updated to be smaller than the set in the first set and the vertex taken from the track mesh vertex set is smaller than the set. The vertex of the spacing value is the midpoint of the extracted vertex.
步骤612,将该取出的顶点加入该第一集合中,再返回执行步骤604。Step 612, adding the extracted vertex to the first set, and then returning to step 604.
具体的,将从轨迹网格顶点集中取出的顶点加入第一集合中。Specifically, the vertices taken from the vertices of the trajectory grid are added to the first set.
遍历完该轨迹网格顶点集中顶点,将得到的第一集合作为中点路径顶点集。The vertex of the vertices of the trajectory grid is traversed, and the obtained first set is used as a set of vertices of the midpoint path.
本实施例中,每次从轨迹网格顶点集中取出一个顶点,并将该顶点与第一集合中顶点进行比较,采用步骤608、610和612的处理方式进行处理,直到遍历完轨迹网格顶点集中所有的顶点,将得到第一集合中顶点集,然后将第一集合作为中点路径顶点集。In this embodiment, each time a vertex is taken out from the vertices of the trajectory grid, and the vertices are compared with the vertices in the first set, and processed in the processing manners of steps 608, 610, and 612 until the trajectory mesh vertices are traversed. By concentrating all the vertices, you will get the set of vertices in the first set, and then use the first set as the set of vertices in the midpoint path.
上述通过将轨迹网格顶点集中顶点与第一集合中的顶点距离进行比较,判断第一集合中存在顶点与从轨迹网格顶点集中取出的顶点时,将第一集合中的顶点更新为该顶点与取出的顶点的中点,从而生成了中点路径顶点集,计算方法简单,计算量小,通过判断轨迹网格顶点集是否为空,为空则结束,自动跳出循环,操作方便。The above verifies that the vertex in the first set is updated to the vertex by comparing the vertex of the vertex of the trajectory grid with the vertex distance in the first set to determine the presence of the vertex in the first set and the vertex taken from the vertex of the trajectory grid. And the midpoint of the extracted vertex, thus generating the midpoint path vertex set, the calculation method is simple, the calculation amount is small, by judging whether the trajectory grid vertex set is empty, the empty is ended, the loop is automatically jumped out, and the operation is convenient.
图7为一个实施例中将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的具体流程图。如图7所示,将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的步骤包括:FIG. 7 is a specific flowchart of sorting vertices of a vertex of a midpoint path to obtain a sequence of vertices of a trajectory line in one embodiment. As shown in FIG. 7, the steps of sorting the vertex of the vertex of the midpoint path to obtain the sequence of the vertex of the track line include:
步骤702,从该中点路径顶点集中选取轨迹线的起点。Step 702: Select a starting point of the trajectory line from the vertices of the midpoint path.
本实施例总,从该中点路径顶点集中选取轨迹线的起点步骤包括:从该中点路径顶点集中选取三维坐标中Z坐标最小的顶点作为轨迹线的起点。In this embodiment, the starting point of selecting the trajectory line from the vertices of the midpoint path includes: selecting the vertice with the smallest Z coordinate in the three-dimensional coordinates as the starting point of the trajectory line from the vertices of the midpoint path.
具体的,在轨迹网格中一般顶点向Z轴正方向延伸,为此,可将中点路径集合中Z坐标最小的顶点作为轨迹线起点,设该轨迹线起点为S。建立一个空的序列C。将顶点S从中点路径顶点集中移除,并加入序列C的尾部。Specifically, in the trajectory grid, the vertices generally extend in the positive direction of the Z axis. To this end, the vertices with the smallest Z coordinate in the set of midpoint paths can be used as the starting point of the trajectory line, and the starting point of the trajectory line is S. Create an empty sequence C. The vertex S is removed from the midpoint path vertex and added to the tail of the sequence C.
步骤704,遍历该中点路径顶点集,查找与该起点距离最近的顶点,将与该起点距离最近的顶点作为该起点的相邻的下一个顶点。Step 704, traversing the set of vertex of the midpoint path, searching for the vertex closest to the starting point, and using the vertex closest to the starting point as the next adjacent vertex of the starting point.
具体的,遍历中点路径顶点集查找到与起点S距离最近的顶点P,并将该顶点P作为起点S相邻的下一个顶点,加入序列C中。Specifically, the vertices of the midpoint path vertex are traversed to find the vertex P closest to the starting point S, and the vertex P is added to the sequence C in the next vertex adjacent to the starting point S.
步骤706,更新该距离最近的顶点为新的起点。Step 706, updating the closest vertex to a new starting point.
具体的,将起点S更新为顶点P,即将顶点P作为新的起点,然后继续遍历中点路径顶点集中顶点,查找与该新的起点距离最近的顶点P,并将该顶点P作为新的起点相邻的下一个顶点,加入序列C中。Specifically, the starting point S is updated to the vertex P, that is, the vertex P is taken as a new starting point, and then the vertex of the vertex of the midpoint path is continuously traversed, the vertex P closest to the new starting point is searched, and the vertex P is taken as a new starting point. The next adjacent vertex is added to sequence C.
步骤708,遍历完该中点路径顶点集中顶点,形成轨迹线顶点序列。Step 708, traversing the vertex of the vertex of the midpoint path to form a sequence of trajectory vertex.
具体的,遍历完中点路径顶点集中所有顶点,按照步骤704和步骤706形成轨迹线的顶点序列。Specifically, all the vertices in the vertex of the midpoint path are traversed, and the vertices of the trajectory are formed according to steps 704 and 706.
上述通过选定轨迹线起点,并查找与轨迹线起点距离最近的顶点作为起点相邻的下一个顶点,再更新查找到的相邻的下一个顶点作为新的起点,如此遍历完中点路径顶点集中顶点,形成轨迹线顶点序列,计算方式简单,计算量小。The above traversing the midpoint path vertex by selecting the starting point of the trajectory line and finding the vertex closest to the starting point of the trajectory line as the next vertice adjacent to the starting point, and then updating the found next adjacent vertex as a new starting point. Concentrate the vertices to form a sequence of trajectory vertices, which is simple in calculation and small in calculation.
图8为另一个实施例中将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的具体流程图。如图8所示,将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的步骤包括:FIG. 8 is a specific flowchart of sorting vertices of a vertex of a midpoint path to obtain a sequence of vertices of a trajectory line in another embodiment. As shown in FIG. 8, the steps of sorting the vertex of the vertex of the midpoint path to obtain the sequence of the vertex of the track line include:
步骤802,从该中点路径顶点集中选取轨迹线的起点。Step 802, selecting a starting point of the trajectory line from the vertices of the midpoint path.
本实施例中,从该中点路径顶点集中选取轨迹线的起点步骤包括:从该中点路径顶点集中选取三维坐标中Z坐标最小的顶点作为轨迹线的起点。In this embodiment, the step of extracting the starting point of the trajectory from the vertices of the midpoint path comprises: selecting, from the vertices of the midpoint path, the vertices with the smallest Z coordinate in the three-dimensional coordinates as the starting point of the trajectory.
具体的,在轨迹网格中一般顶点向Z轴正方向延伸,为此,可将中点路径集合中Z坐标最小的顶点作为轨迹线起点,设该轨迹线起点为S。建立一个空的序列C。将顶点S从中点路径顶点集中移除,并加入序列C的尾部。Specifically, in the trajectory grid, the vertices generally extend in the positive direction of the Z axis. To this end, the vertices with the smallest Z coordinate in the set of midpoint paths can be used as the starting point of the trajectory line, and the starting point of the trajectory line is S. Create an empty sequence C. The vertex S is removed from the midpoint path vertex and added to the tail of the sequence C.
步骤804,判断该中点路径顶点集是否为空,若是,则结束,若否,执行步骤806。In step 804, it is determined whether the midpoint path vertex set is empty. If yes, the process ends. If not, step 806 is performed.
步骤806,遍历该中点路径顶点集,查找与该起点距离最近的顶点,将与该起点距离最近的顶点作为该起点的相邻的下一个顶点,并从该中点路径顶点集中移除该距离最近的顶点。Step 806, traversing the set of vertex of the midpoint path, searching for the vertex closest to the starting point, taking the vertex closest to the starting point as the next adjacent vertex of the starting point, and removing the vertex from the midpoint path vertex The nearest vertex.
具体的,遍历中点路径顶点集查找到与起点S距离最近的顶点P,并将该顶点P作为起点S相邻的下一个顶点,加入序列C中。从中点路径顶点集中移除与起点距离最近的顶点。Specifically, the vertices of the midpoint path vertex are traversed to find the vertex P closest to the starting point S, and the vertex P is added to the sequence C in the next vertex adjacent to the starting point S. Removes the vertex closest to the starting point from the midpoint path vertex set.
步骤808,更新该距离最近的顶点为新的起点。Step 808, updating the nearest vertex to a new starting point.
具体的,将起点S更新为顶点P,即将顶点P作为新的起点,然后继续遍历中点路径顶点集中顶点,查找与该新的起点距离最近的顶点P,并将该顶点P作为新的起点相邻的下一个顶点,加入序列C中。Specifically, the starting point S is updated to the vertex P, that is, the vertex P is taken as a new starting point, and then the vertex of the vertex of the midpoint path is continuously traversed, the vertex P closest to the new starting point is searched, and the vertex P is taken as a new starting point. The next adjacent vertex is added to sequence C.
步骤810,遍历完该中点路径顶点集中顶点,形成轨迹线顶点序列。Step 810, traversing the vertex of the vertex of the midpoint path to form a sequence of trajectory vertex.
具体的,遍历完中点路径顶点集中所有顶点,按照步骤804、806和步骤808进行处理,形成轨迹线的顶点序列。Specifically, all the vertices in the vertex of the midpoint path are traversed, and processed according to steps 804, 806 and step 808 to form a vertex sequence of the trajectory.
上述通过选定轨迹线起点,并查找与轨迹线起点距离最近的顶点作为起点相邻的下一个顶点,再更新查找到的相邻的下一个顶点作为新的起点,如此遍历完中点路径顶点集中顶点,形成轨迹线顶点序列,计算方式简单,计算量小;判断中点路径顶点集为空,则结束,自动跳出循环,操作方便。The above traversing the midpoint path vertex by selecting the starting point of the trajectory line and finding the vertex closest to the starting point of the trajectory line as the next vertice adjacent to the starting point, and then updating the found next adjacent vertex as a new starting point. Concentrate the vertices to form a sequence of trajectory vertices. The calculation method is simple and the calculation amount is small. If the vertex set of the midpoint path is empty, it ends, and the loop is automatically jumped out, which is convenient to operate.
为了进一步说明根据轨迹网格生成轨迹线顶点序列的效果,参照图9所示,为拱形路面上制作的轨迹网格,建立三维坐标系XYZ。图10为图9中轨迹网格放大示意图,图10中可看出,轨迹网格由一个个三角形拼接而成。图11为采用上述生成轨迹线顶点序列的方法处理后生成的轨迹线顶点序列示意图,如图11所示,按照轨迹线顶点的Z坐标逐步增大进行排序得到的轨迹线顶点序列,图中黑色圆点即为轨迹点。To further illustrate the effect of generating a sequence of trajectory vertices from the trajectory grid, as shown in FIG. 9, a three-dimensional coordinate system XYZ is established for the trajectory grid created on the arched road surface. FIG. 10 is an enlarged schematic view of the trajectory grid of FIG. 9. As can be seen in FIG. 10, the trajectory grid is formed by splicing one triangle. 11 is a schematic diagram of a trajectory sequence of trajectory lines generated by the method for generating a trajectory sequence of trajectory lines, as shown in FIG. 11, the trajectory sequence of trajectory lines obtained by gradually increasing the Z coordinate of the trajectory of the trajectory line, black in the figure The dot is the track point.
图12为一个实施例中生成轨迹线顶点序列的装置的结构框图。如图12所示,该生成轨迹线顶点序列的装置包括获取模块1210、生成模块1220、排序模块1230。其中:Figure 12 is a block diagram showing the structure of an apparatus for generating a sequence of trajectory vertices in one embodiment. As shown in FIG. 12, the apparatus for generating a sequence of trajectory vertices includes an obtaining module 1210, a generating module 1220, and a sorting module 1230. among them:
获取模块1210用于获取轨迹网格顶点集。轨迹网格是无数个三角形。轨迹网格是3D模型的顶点集,内含各个顶点的三维空间坐标数据。获取轨迹网格中顶点,并将顶点加入到轨迹网格顶点集中。The obtaining module 1210 is configured to acquire a trajectory grid vertex set. The trajectory grid is an infinite number of triangles. The trajectory grid is a set of vertices of a 3D model, and contains three-dimensional coordinate data of each vertex. Get the vertices in the trajectory grid and add the vertices to the trajectory grid vertex set
生成模块1220用于根据该轨迹网格顶点集中顶点生成中点路径顶点集。The generating module 1220 is configured to generate a midpoint path vertex set according to the vertices of the trajectory mesh vertex.
每个轨迹网格都包括2条轨迹路径,如图4所示,轨迹网格包括B0->A0及B1->A1两条轨迹路径,其中,点A为A0和A1的中点,点B为B0和B1的中点。为了生成轨迹线,需要中点路径B->A。轨迹线是由一系列有序的顶点加上样条曲线算法生成的一种曲线。轨迹线可以连成线的顶点构成的。通过从轨迹网格顶点集中取出顶点进行处理得到中点,遍历完轨迹网格顶点集中所有顶点,可生成中点路径顶点集。中点路径顶点集中包括中点。Each trajectory grid includes two trajectory paths. As shown in FIG. 4, the trajectory grid includes two trajectory paths B0->A0 and B1->A1, where point A is the midpoint of A0 and A1, and point B It is the midpoint of B0 and B1. In order to generate the trajectory, the midpoint path B->A is required. A trajectory is a curve generated by a series of ordered vertices plus a spline algorithm. The trajectory can be connected to the vertices of the line. The midpoint is obtained by extracting the vertices from the vertices of the trajectory grid, and traversing all the vertices in the vertices of the trajectory grid to generate a midpoint path vertex set. The midpoint path vertex set includes the midpoint.
排序模块1230用于将该中点路径顶点集中顶点进行排序,得到轨迹线顶点序列。The sorting module 1230 is configured to sort the vertex of the vertex of the midpoint path to obtain a sequence of trajectory vertex.
具体的,从中点路径顶点集中顶点选取轨迹线的起点,再根据轨迹线的起点选择起点相邻的下一顶点,再将相邻的下一顶点作为新的起点,如此类推,形成轨迹线顶点序列。Specifically, the starting point of the trajectory line is selected from the vertices of the vertices of the midpoint path, and then the next vertice adjacent to the starting point is selected according to the starting point of the trajectory line, and then the adjacent next vertice is taken as a new starting point, and so on, forming a trajectory line vertice sequence.
上述生成轨迹线顶点序列的装置,根据轨迹网格顶点集中顶点生成中点路径顶点集,并将中点路径顶点集中顶点进行排序,得到轨迹线顶点序列,即可生成轨迹线,实现了根据轨迹网格自动生成轨迹线,不需人工绘制,节省人工成本,且提高了开发效率。The device for generating a trajectory sequence of the trajectory line generates a vertices of the midpoint path according to the vertices of the vertices of the trajectory mesh, and sorts the vertices of the vertices of the midpoint path to obtain a trajectory sequence of the trajectory line, thereby generating a trajectory line The grid automatically generates trajectories, eliminating the need for manual drawing, saving labor costs and improving development efficiency.
图13为一个实施例中生成模块的内部结构框图。如图13所示,该生成模块1220包括初始化单元1310、取出单元1320、第一判断单元1330、更新单元1340和遍历单元1350。其中:Figure 13 is a block diagram showing the internal structure of a generation module in one embodiment. As shown in FIG. 13, the generating module 1220 includes an initializing unit 1310, a fetching unit 1320, a first judging unit 1330, an updating unit 1340, and an traversing unit 1350. among them:
初始化单元1310用于初始化空的第一集合。具体的,可先初始化轨迹网格顶点集A和空的第一集合B。The initialization unit 1310 is for initializing an empty first set. Specifically, the trajectory grid vertex set A and the empty first set B may be initialized first.
取出单元1320用于从该轨迹网格顶点集中依次取出顶点。具体的,从轨迹网格顶点集A中依次取出任意顶点P。The fetching unit 1320 is configured to sequentially fetch vertices from the vertices of the trajectory grid. Specifically, an arbitrary vertex P is sequentially taken out from the trajectory grid vertex set A.
第一判断单元1330用于判断在该第一集合中是否存在顶点与该取出的顶点之间距离小于设定的间距值。The first determining unit 1330 is configured to determine whether a distance between the vertices in the first set and the extracted vertices is less than a set pitch value.
具体的,在第一集合B中存在顶点P'与取出的顶点P之间距离小于设定的间距值,则将第一集合B中顶点P'更新为顶点P'与顶点P的中点;在第一集合B中不存在顶点P'与取出的顶点P之间距离小于设定的间距值,则将顶点P加入第一集合B中。Specifically, in the first set B, the distance between the vertex P′ and the extracted vertex P is less than the set pitch value, and the vertex P′ in the first set B is updated to the midpoint of the vertex P′ and the vertex P; If there is no distance between the vertex P' and the extracted vertex P in the first set B is less than the set pitch value, the vertex P is added to the first set B.
在轨迹网格中单侧轨迹路径前后任意两点间距大于设定的间距值,例如设定的间距值为1米,参图4,即|A0-B0|>=1&& |A1-B1|>=1。利用此性质,可以发现间距小于1米的2点即为两条路径上对应的点,反映在图4中即是|A0-A1|<1。In the trajectory grid, the spacing between any two points before and after the one-sided trajectory path is greater than the set spacing value. For example, the set spacing value is 1 meter. Refer to Figure 4, ie |A0-B0|>=1&& |A1-B1|>=1. Using this property, it can be found that 2 points with a pitch of less than 1 meter are the corresponding points on the two paths, which is reflected in FIG. 4 as |A0-A1|<1.
设定的间距值是根据轨迹网格单侧轨迹路径前后任意两点间距确定的。The set pitch value is determined according to the spacing between any two points before and after the one-sided trajectory of the trajectory grid.
更新单元1340用于在判断出在该第一集合中存在顶点与该取出的顶点之间距离小于设定的间距值,将该第一集合中的该顶点更新为该第一集合中的该顶点与该取出的顶点的中点,以及在判断出在该第一集合中不存在顶点与该取出的顶点之间距离小于设定的间距值时,将该取出的顶点加入该第一集合中。The updating unit 1340 is configured to: when it is determined that the distance between the vertices in the first set and the extracted vertices is less than a set pitch value, update the vertices in the first set to the vertices in the first set And extracting the extracted vertex into the first set, and determining that a distance between the vertices in the first set and the extracted vertices is less than a set pitch value.
具体的,将第一集合中的与从轨迹网格顶点集取出的顶点距离小于设定的间距值的顶点更新为该第一集合中的与从轨迹网格顶点集取出的顶点距离小于设定的间距值的顶点与取出的顶点的中点。将从轨迹网格顶点集中取出的顶点加入第一集合中。Specifically, the vertex in the first set that is smaller than the set pitch value from the vertex extracted from the vertex mesh vertex set is updated to be smaller than the set in the first set and the vertex taken from the track mesh vertex set is smaller than the set. The vertex of the spacing value is the midpoint of the extracted vertex. The vertices taken from the vertices of the trajectory grid are added to the first set.
遍历单元1350用于遍历完该轨迹网格顶点集中顶点,将得到的第一集合作为中点路径顶点集。The traversing unit 1350 is configured to traverse the vertex of the vertices of the trajectory grid, and the obtained first set is used as a set of vertices of the midpoint path.
上述通过将轨迹网格顶点集中顶点与第一集合中的顶点距离进行比较,判断第一集合中存在顶点与从轨迹网格顶点集中取出的顶点时,将第一集合中的顶点更新为该顶点与取出的顶点的中点,从而生成了中点路径顶点集,计算方法简单,计算量小。The above verifies that the vertex in the first set is updated to the vertex by comparing the vertex of the vertex of the trajectory grid with the vertex distance in the first set to determine the presence of the vertex in the first set and the vertex taken from the vertex of the trajectory grid. With the midpoint of the extracted vertex, a set of midpoint path vertices is generated, and the calculation method is simple and the calculation amount is small.
进一步的,在一个实施例中,第一判断单元1330还用于在从该轨迹网格顶点集中依次取出顶点之前,判断该轨迹网格顶点集是否为空,若是,则结束,若否,则该取出单元1320从该轨迹网格顶点集中依次取出顶点,并移除该取出的顶点。Further, in an embodiment, the first determining unit 1330 is further configured to determine whether the trajectory grid vertex set is empty before sequentially extracting the vertices from the trajectory mesh vertex set, and if yes, end, if not, The fetching unit 1320 sequentially extracts vertices from the vertices of the trajectory grid and removes the fetched vertices.
在将该第一集合中的该顶点更新为该第一集合中的该顶点与该取出的顶点的中点之后,或者在将该取出的顶点加入该第一集合中之后,再由该第一判断单元1330执行该判断该轨迹网格顶点集是否为空。After updating the vertex in the first set to the midpoint of the vertex in the first set and the fetched vertex, or after adding the fetched vertex to the first set, The determining unit 1330 performs the determination of whether the trajectory grid vertex set is empty.
图14为一个实施例中排序模块的内部结构框图。如图14所示,该排序模块1230包括选取单元1410、查找单元1420、更新单元1430、生成单元1440、第二判断单元1450和移除单元1460。其中: Figure 14 is a block diagram showing the internal structure of the sorting module in one embodiment. As shown in FIG. 14, the sorting module 1230 includes a selecting unit 1410, a searching unit 1420, an updating unit 1430, a generating unit 1440, a second determining unit 1450, and a removing unit 1460. among them:
选取单元1410用于从该中点路径顶点集中选取轨迹线的起点。本实施例中,选取单元1410还用于从该中点路径顶点集中选取三维坐标中Z坐标最小的顶点作为轨迹线的起点。具体的,在轨迹网格中一般顶点向Z轴正方向延伸,为此,可将中点路径集合中Z坐标最小的顶点作为轨迹线起点,设该轨迹线起点为S。建立一个空的序列C。将顶点S从中点路径顶点集中移除,并加入序列C的尾部。The selecting unit 1410 is configured to select a starting point of the trajectory line from the vertices of the midpoint path. In this embodiment, the selecting unit 1410 is further configured to select, from the vertex of the midpoint path, the vertex with the smallest Z coordinate in the three-dimensional coordinates as the starting point of the trajectory. Specifically, in the trajectory grid, the vertices generally extend in the positive direction of the Z axis. To this end, the vertices with the smallest Z coordinate in the set of midpoint paths can be used as the starting point of the trajectory line, and the starting point of the trajectory line is S. Create an empty sequence C. The vertex S is removed from the midpoint path vertex and added to the tail of the sequence C.
查找单元1420用于遍历该中点路径顶点集,查找与该起点距离最近的顶点,将与该起点距离最近的顶点作为该起点的相邻的下一个顶点。具体的,遍历中点路径顶点集查找到与起点S距离最近的顶点P,并将该顶点P作为起点S相邻的下一个顶点,加入序列C中。The searching unit 1420 is configured to traverse the set of vertex of the midpoint path, find the vertex closest to the starting point, and use the vertex closest to the starting point as the next adjacent vertex of the starting point. Specifically, the vertices of the midpoint path vertex are traversed to find the vertex P closest to the starting point S, and the vertex P is added to the sequence C in the next vertex adjacent to the starting point S.
更新单元1430用于更新该距离最近的顶点为新的起点。具体的,将起点S更新为顶点P,即将顶点P作为新的起点,然后继续遍历中点路径顶点集中顶点,查找与该新的起点距离最近的顶点P,并将该顶点P作为新的起点相邻的下一个顶点,加入序列C中。The update unit 1430 is configured to update the closest vertex to a new starting point. Specifically, the starting point S is updated to the vertex P, that is, the vertex P is taken as a new starting point, and then the vertex of the vertex of the midpoint path is continuously traversed, the vertex P closest to the new starting point is searched, and the vertex P is taken as a new starting point. The next adjacent vertex is added to sequence C.
生成单元1440用于在遍历完该中点路径顶点集中顶点,形成轨迹线顶点序列。The generating unit 1440 is configured to form a trajectory line vertex sequence by traversing the vertex of the midpoint path vertex.
第二判断单元1450用于在从该中点路径顶点集中选取轨迹线的起点之后,判断该中点路径顶点集是否为空,若是,则结束,若否,则查找单元1420遍历该中点路径顶点集,查找与该起点距离最近的顶点,将与该起点距离最近的顶点作为该起点的相邻的下一个顶点。The second determining unit 1450 is configured to determine whether the midpoint path vertex set is empty after the starting point of the trajectory line is selected from the midpoint path vertex set, and if yes, end, if not, the searching unit 1420 traverses the midpoint path A vertex set that finds the vertex closest to the starting point, and the vertex closest to the starting point is the next adjacent vertex of the starting point.
移除单元1460用于从该中点路径顶点集中移除该距离最近的顶点。The removing unit 1460 is configured to remove the closest vertices from the midpoint path vertex set.
上述通过选定轨迹线起点,并查找与轨迹线起点距离最近的顶点作为起点相邻的下一个顶点,再更新查找到的相邻的下一个顶点作为新的起点,如此遍历完中点路径顶点集中顶点,形成轨迹线顶点序列,计算方式简单,计算量小;判断中点路径顶点集为空,则结束,自动跳出循环,操作方便。The above traversing the midpoint path vertex by selecting the starting point of the trajectory line and finding the vertex closest to the starting point of the trajectory line as the next vertice adjacent to the starting point, and then updating the found next adjacent vertex as a new starting point. Concentrate the vertices to form a sequence of trajectory vertices. The calculation method is simple and the calculation amount is small. If the vertex set of the midpoint path is empty, it ends, and the loop is automatically jumped out, which is convenient to operate.
图15为终端的内部结构框图。该终端包括通过系统总线连接的处理器、存储介质、内存和网络接口。其中,终端的存储介质存储有操作系统,还包括一种生成轨迹线顶点序列的装置,该生成轨迹线顶点序列的装置用于实现一种生成轨迹线顶点序列的方法。该处理器用于提供计算和控制能力,支撑整个终端的运行。终端中的内存为存储介质中的生成轨迹线顶点序列的装置的运行提供环境,网络接口用于与服务器进行网络通信,如发送请求至服务器,接收服务器返回的数据等。Figure 15 is a block diagram showing the internal structure of the terminal. The terminal includes a processor, a storage medium, a memory, and a network interface connected through a system bus. The storage medium of the terminal stores an operating system, and further includes a device for generating a sequence of vertices of the trajectory, and the device for generating a sequence of vertices of the trajectory is used to implement a method for generating a sequence of vertices of the trajectory. The processor is used to provide computing and control capabilities to support the operation of the entire terminal. The memory in the terminal provides an environment for the operation of the device in the storage medium to generate a sequence of trajectory vertices, and the network interface is used for network communication with the server, such as sending a request to the server, receiving data returned by the server, and the like.
图16为服务器的内部结构框图。如图16所示,该服务器包括通过系统总线连接的处理器、存储介质、内存和网络接口。其中,该服务器的存储介质存储有操作系统、数据库和生成轨迹线顶点的装置,数据库中存储有数据,该生成轨迹线顶点的装置用于实现适用于服务器的一种生成轨迹线顶点序列的方法。该服务器的处理器用于提供计算和控制能力,支撑整个服务器的运行。该服务器的内存为存储介质中的生成轨迹线顶点的装置的运行提供环境。该服务器的网络接口用于据以与外部的终端通过网络连接通信,比如接收终端发送的请求以及向终端返回数据等。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。Figure 16 is a block diagram showing the internal structure of the server. As shown in FIG. 16, the server includes a processor, a storage medium, a memory, and a network interface connected through a system bus. The storage medium of the server stores an operating system, a database, and a device for generating vertices of the trajectory, and the data is stored in the database, and the device for generating the vertices of the trajectory is used to implement a method for generating a trajectory sequence of the trajectory for the server. . The server's processor is used to provide computing and control capabilities that support the operation of the entire server. The server's memory provides an environment for the operation of the device that generates the trajectory vertices in the storage medium. The network interface of the server is used to communicate with an external terminal via a network connection, such as receiving a request sent by the terminal and returning data to the terminal. The server can be implemented with a stand-alone server or a server cluster consisting of multiple servers.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer readable storage medium. Wherein, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM), etc.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (18)

  1. 一种生成轨迹线顶点序列的方法,包括以下步骤:A method of generating a sequence of trajectory vertices, comprising the steps of:
    获取轨迹网格顶点集;Obtain a trajectory grid vertex set;
    根据所述轨迹网格顶点集中顶点生成中点路径顶点集;Generating a midpoint system vertex set according
    将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列。The vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
  2. 根据权利要求1所述的方法,其特征在于,根据所述轨迹网格顶点集中顶点生成中点路径顶点集的步骤包括:The method according to claim 1, wherein the step of generating a set of midpoint path vertices according to the vertices of the trajectory of the trajectory of the trajectory comprises:
    初始化空的第一集合;Initialize an empty first set;
    从所述轨迹网格顶点集中依次取出顶点;Extracting vertices sequentially from the vertex of the trajectory grid;
    判断在所述第一集合中是否存在顶点与所述取出的顶点之间距离小于设定的间距值,若是,则将所述第一集合中的所述顶点更新为所述第一集合中的所述顶点与所述取出的顶点的中点,若否,则将所述取出的顶点加入所述第一集合中;Determining whether a distance between the vertex and the extracted vertex in the first set is less than a set pitch value, and if yes, updating the vertex in the first set to be in the first set The vertex and the midpoint of the extracted vertex, if not, adding the extracted vertex to the first set;
    遍历完所述轨迹网格顶点集中顶点,将得到的第一集合作为中点路径顶点集。The vertices in the vertices of the trajectory grid are traversed, and the obtained first set is used as a set of vertices of the midpoint path.
  3. 根据权利要求2所述的方法,其特征在于,在从所述轨迹网格顶点集中依次取出顶点的步骤之前,所述方法还包括:The method according to claim 2, wherein before the step of sequentially extracting vertices from the vertices of the trajectory grid, the method further comprises:
    判断所述轨迹网格顶点集是否为空,若是,则结束,若否,则从所述轨迹网格顶点集中依次取出顶点,并移除所述取出的顶点;Determining whether the trajectory grid vertex set is empty, and if so, ending, if not, extracting vertices sequentially from the trajectory grid vertex set, and removing the extracted vertices;
    在将所述第一集合中的所述顶点更新为所述第一集合中的所述顶点与所述取出的顶点的中点之后,或者在将所述取出的顶点加入所述第一集合中之后,再执行所述判断所述轨迹网格顶点集是否为空的步骤。After updating the vertex in the first set to the midpoint of the vertex in the first set and the fetched vertex, or adding the fetched vertex to the first set Then, the step of determining whether the trajectory grid vertex set is empty is performed.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的步骤包括:The method according to any one of claims 1 to 3, wherein the step of sorting the vertices of the midpoint path vertex to obtain the trajectory vertices sequence comprises:
    从所述中点路径顶点集中选取轨迹线的起点;Selecting a starting point of the trajectory line from the vertices of the midpoint path;
    遍历所述中点路径顶点集,查找与所述起点距离最近的顶点,将与所述起点距离最近的顶点作为所述起点的相邻的下一个顶点;Traversing the set of midpoint path vertices, finding a vertex closest to the starting point, and using a vertex closest to the starting point as an adjacent next vertex of the starting point;
    更新所述距离最近的顶点为新的起点;Updating the closest vertex of the distance to a new starting point;
    遍历完所述中点路径顶点集中顶点,形成轨迹线顶点序列。The vertices in the vertex of the midpoint path are traversed to form a sequence of trajectory vertices.
  5. 根据权利要求4所述的方法,其特征在于,从所述中点路径顶点集中选取轨迹线的起点步骤包括:The method according to claim 4, wherein the step of selecting a starting point of the trajectory line from the vertices of the midpoint path comprises:
    从所述中点路径顶点集中选取三维坐标中Z坐标最小的顶点作为轨迹线的起点。The vertex with the smallest Z coordinate in the three-dimensional coordinates is selected from the vertex of the midpoint path as the starting point of the trajectory.
  6. 根据权利要求4所述的方法,其特征在于,从所述中点路径顶点集中选取轨迹线的起点的步骤之后,所述方法还包括:The method according to claim 4, wherein after the step of extracting the starting point of the trajectory line from the vertices of the midpoint path, the method further comprises:
    判断所述中点路径顶点集是否为空,若是,则结束,若否,则遍历所述中点路径顶点集,查找与所述起点距离最近的顶点,将与所述起点距离最近的顶点作为所述起点的相邻的下一个顶点,并从所述中点路径顶点集中移除所述距离最近的顶点。Determining whether the midpoint path vertex set is empty, and if so, ending, if not, traversing the midpoint path vertex set, searching for a vertex closest to the starting point, and using the vertex closest to the starting point as An adjacent next vertex of the starting point, and removing the closest vertex from the midpoint path vertex set.
  7. 一种终端,包括非易失性存储介质及处理器,所述非易失性存储介质中储存有指令,所述指令被所述处理器执行时,可使得所述处理器执行以下步骤:A terminal, comprising a non-volatile storage medium and a processor, wherein the non-volatile storage medium stores instructions that, when executed by the processor, cause the processor to perform the following steps:
    获取轨迹网格顶点集;Obtain a trajectory grid vertex set;
    根据所述轨迹网格顶点集中顶点生成中点路径顶点集;Generating a midpoint system vertex set according
    将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列。The vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
  8. 根据权利要求7所述的终端,其特征在于,所述处理器执行所述根据所述轨迹网格顶点集中顶点生成中点路径顶点集的步骤包括:The terminal according to claim 7, wherein the step of the processor executing the generating a set of midpoint path vertices according to the vertices of the trajectory of the trajectory grid comprises:
    初始化空的第一集合;Initialize an empty first set;
    从所述轨迹网格顶点集中依次取出顶点;Extracting vertices sequentially from the vertex of the trajectory grid;
    判断在所述第一集合中是否存在顶点与所述取出的顶点之间距离小于设定的间距值,若是,则将所述第一集合中的所述顶点更新为所述第一集合中的所述顶点与所述取出的顶点的中点,若否,则将所述取出的顶点加入所述第一集合中;Determining whether a distance between the vertex and the extracted vertex in the first set is less than a set pitch value, and if yes, updating the vertex in the first set to be in the first set The vertex and the midpoint of the extracted vertex, if not, adding the extracted vertex to the first set;
    遍历完所述轨迹网格顶点集中顶点,将得到的第一集合作为中点路径顶点集。The vertices in the vertices of the trajectory grid are traversed, and the obtained first set is used as a set of vertices of the midpoint path.
  9. 根据权利要求8所述的终端,其特征在于,在从所述轨迹网格顶点集中依次取出顶点的步骤之前,所述处理器还被用于执行以下步骤:The terminal according to claim 8, wherein said processor is further configured to perform the following steps before the step of sequentially extracting vertices from said trajectory grid vertices:
    判断所述轨迹网格顶点集是否为空,若是,则结束,若否,则从所述轨迹网格顶点集中依次取出顶点,并移除所述取出的顶点;Determining whether the trajectory grid vertex set is empty, and if so, ending, if not, extracting vertices sequentially from the trajectory grid vertex set, and removing the extracted vertices;
    在将所述第一集合中的所述顶点更新为所述第一集合中的所述顶点与所述取出的顶点的中点之后,或者在将所述取出的顶点加入所述第一集合中之后,再执行所述判断所述轨迹网格顶点集是否为空的步骤。After updating the vertex in the first set to the midpoint of the vertex in the first set and the fetched vertex, or adding the fetched vertex to the first set Then, the step of determining whether the trajectory grid vertex set is empty is performed.
  10. 根据权利要求7至9中任一项所述的终端,其特征在于,所述处理器执行将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的步骤包括:The terminal according to any one of claims 7 to 9, wherein the processor performs a step of sorting the vertices of the midpoint path vertex to obtain a trajectory line vertice sequence:
    从所述中点路径顶点集中选取轨迹线的起点;Selecting a starting point of the trajectory line from the vertices of the midpoint path;
    遍历所述中点路径顶点集,查找与所述起点距离最近的顶点,将与所述起点距离最近的顶点作为所述起点的相邻的下一个顶点;Traversing the set of midpoint path vertices, finding a vertex closest to the starting point, and using a vertex closest to the starting point as an adjacent next vertex of the starting point;
    更新所述距离最近的顶点为新的起点;Updating the closest vertex of the distance to a new starting point;
    遍历完所述中点路径顶点集中顶点,形成轨迹线顶点序列。The vertices in the vertex of the midpoint path are traversed to form a sequence of trajectory vertices.
  11. 根据权利要求10所述的终端,其特征在于,所述处理器执行从所述中点路径顶点集中选取轨迹线的起点步骤包括:The terminal according to claim 10, wherein the step of the processor performing a process of selecting a trajectory line from the vertices of the midpoint path comprises:
    从所述中点路径顶点集中选取三维坐标中Z坐标最小的顶点作为轨迹线的起点。The vertex with the smallest Z coordinate in the three-dimensional coordinates is selected from the vertex of the midpoint path as the starting point of the trajectory.
  12. 根据权利要求10所述的终端,其特征在于,从所述中点路径顶点集中选取轨迹线的起点的步骤之后,所述处理器还被用于执行以下步骤:The terminal according to claim 10, wherein after the step of extracting the start point of the trajectory line from the vertices of the midpoint path, the processor is further configured to perform the following steps:
    判断所述中点路径顶点集是否为空,若是,则结束,若否,则遍历所述中点路径顶点集,查找与所述起点距离最近的顶点,将与所述起点距离最近的顶点作为所述起点的相邻的下一个顶点,并从所述中点路径顶点集中移除所述距离最近的顶点。Determining whether the midpoint path vertex set is empty, and if so, ending, if not, traversing the midpoint path vertex set, searching for a vertex closest to the starting point, and using the vertex closest to the starting point as An adjacent next vertex of the starting point, and removing the closest vertex from the midpoint path vertex set.
  13. 一种服务器,包括非易失性存储介质及处理器,所述非易失性存储介质中储存有指令,所述指令被所述处理器执行时,可使得所述处理器执行以下步骤:A server comprising a non-volatile storage medium and a processor, wherein the non-volatile storage medium stores instructions that, when executed by the processor, cause the processor to perform the following steps:
    获取轨迹网格顶点集;Obtain a trajectory grid vertex set;
    根据所述轨迹网格顶点集中顶点生成中点路径顶点集;Generating a midpoint system vertex set according
    将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列。The vertices of the midpoint path vertex are sorted to obtain a trajectory vertex sequence.
  14. 根据权利要求13所述的服务器,其特征在于,所述处理器执行所述根据所述轨迹网格顶点集中顶点生成中点路径顶点集的步骤包括:The server according to claim 13, wherein the step of the processor executing the generating a midpoint path vertex according to the vertices of the trajectory of the trajectory grid comprises:
    初始化空的第一集合;Initialize an empty first set;
    从所述轨迹网格顶点集中依次取出顶点;Extracting vertices sequentially from the vertex of the trajectory grid;
    判断在所述第一集合中是否存在顶点与所述取出的顶点之间距离小于设定的间距值,若是,则将所述第一集合中的所述顶点更新为所述第一集合中的所述顶点与所述取出的顶点的中点,若否,则将所述取出的顶点加入所述第一集合中;Determining whether a distance between the vertex and the extracted vertex in the first set is less than a set pitch value, and if yes, updating the vertex in the first set to be in the first set The vertex and the midpoint of the extracted vertex, if not, adding the extracted vertex to the first set;
    遍历完所述轨迹网格顶点集中顶点,将得到的第一集合作为中点路径顶点集。The vertices in the vertices of the trajectory grid are traversed, and the obtained first set is used as a set of vertices of the midpoint path.
  15. 根据权利要求14所述的服务器,其特征在于,在从所述轨迹网格顶点集中依次取出顶点的步骤之前,所述处理器还被用于执行以下步骤:The server according to claim 14, wherein said processor is further configured to perform the following steps before the step of sequentially extracting vertices from said trajectory grid vertex set:
    判断所述轨迹网格顶点集是否为空,若是,则结束,若否,则从所述轨迹网格顶点集中依次取出顶点,并移除所述取出的顶点;Determining whether the trajectory grid vertex set is empty, and if so, ending, if not, extracting vertices sequentially from the trajectory grid vertex set, and removing the extracted vertices;
    在将所述第一集合中的所述顶点更新为所述第一集合中的所述顶点与所述取出的顶点的中点之后,或者在将所述取出的顶点加入所述第一集合中之后,再执行所述判断所述轨迹网格顶点集是否为空的步骤。After updating the vertex in the first set to the midpoint of the vertex in the first set and the fetched vertex, or adding the fetched vertex to the first set Then, the step of determining whether the trajectory grid vertex set is empty is performed.
  16. 根据权利要求13至15中任一项所述的服务器,其特征在于,所述处理器执行将所述中点路径顶点集中顶点进行排序,得到轨迹线顶点序列的步骤包括:The server according to any one of claims 13 to 15, wherein the processor performs a step of sorting the vertices of the midpoint path vertex to obtain a trajectory line vertice sequence:
    从所述中点路径顶点集中选取轨迹线的起点;Selecting a starting point of the trajectory line from the vertices of the midpoint path;
    遍历所述中点路径顶点集,查找与所述起点距离最近的顶点,将与所述起点距离最近的顶点作为所述起点的相邻的下一个顶点;Traversing the set of midpoint path vertices, finding a vertex closest to the starting point, and using a vertex closest to the starting point as an adjacent next vertex of the starting point;
    更新所述距离最近的顶点为新的起点;Updating the closest vertex of the distance to a new starting point;
    遍历完所述中点路径顶点集中顶点,形成轨迹线顶点序列。The vertices in the vertex of the midpoint path are traversed to form a sequence of trajectory vertices.
  17. 根据权利要求16所述的服务器,其特征在于,所述处理器执行从所述中点路径顶点集中选取轨迹线的起点步骤包括:The server according to claim 16, wherein said step of said processor performing a process of selecting a trajectory line from said midpoint path vertices comprises:
    从所述中点路径顶点集中选取三维坐标中Z坐标最小的顶点作为轨迹线的起点。The vertex with the smallest Z coordinate in the three-dimensional coordinates is selected from the vertex of the midpoint path as the starting point of the trajectory.
  18. 根据权利要求16所述的服务器,其特征在于,从所述中点路径顶点集中选取轨迹线的起点的步骤之后,所述处理器还被用于执行以下步骤:The server according to claim 16, wherein after the step of extracting the start point of the trajectory line from the vertices of the midpoint path, the processor is further configured to perform the following steps:
    判断所述中点路径顶点集是否为空,若是,则结束,若否,则遍历所述中点路径顶点集,查找与所述起点距离最近的顶点,将与所述起点距离最近的顶点作为所述起点的相邻的下一个顶点,并从所述中点路径顶点集中移除所述距离最近的顶点。Determining whether the midpoint path vertex set is empty, and if so, ending, if not, traversing the midpoint path vertex set, searching for a vertex closest to the starting point, and using the vertex closest to the starting point as An adjacent next vertex of the starting point, and removing the closest vertex from the midpoint path vertex set.
PCT/CN2016/080074 2015-05-12 2016-04-22 Method for generating track line vertex sequence, terminal and server WO2016180218A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510240856.0 2015-05-12
CN201510240856.0A CN104801044B (en) 2015-05-12 2015-05-12 The method and apparatus for generating trajectory vertex sequence

Publications (1)

Publication Number Publication Date
WO2016180218A1 true WO2016180218A1 (en) 2016-11-17

Family

ID=53686503

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080074 WO2016180218A1 (en) 2015-05-12 2016-04-22 Method for generating track line vertex sequence, terminal and server

Country Status (2)

Country Link
CN (1) CN104801044B (en)
WO (1) WO2016180218A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113592763A (en) * 2020-04-30 2021-11-02 深圳云甲科技有限公司 Pile core detection method and device based on curvature direction

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104801044B (en) * 2015-05-12 2017-12-12 深圳市腾讯计算机系统有限公司 The method and apparatus for generating trajectory vertex sequence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080024505A1 (en) * 2006-07-28 2008-01-31 Demian Gordon Facs solving in motion capture
CN103077025A (en) * 2012-12-28 2013-05-01 锐达互动科技股份有限公司 Method for erasing trace line and generating new trace line for closed geometric figure
CN103438897A (en) * 2013-09-04 2013-12-11 杭州东信捷峻科技有限公司 Route track correction method based on raster map
CN104801044A (en) * 2015-05-12 2015-07-29 深圳市腾讯计算机系统有限公司 Method and device for generating trajectory vertex sequence

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3316092B2 (en) * 1993-09-14 2002-08-19 富士通株式会社 Closest point search device
JP2915826B2 (en) * 1995-07-11 1999-07-05 富士通株式会社 Interference check device
CN101930623B (en) * 2009-06-26 2012-12-12 比亚迪股份有限公司 Three-dimensional road modeling method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080024505A1 (en) * 2006-07-28 2008-01-31 Demian Gordon Facs solving in motion capture
CN103077025A (en) * 2012-12-28 2013-05-01 锐达互动科技股份有限公司 Method for erasing trace line and generating new trace line for closed geometric figure
CN103438897A (en) * 2013-09-04 2013-12-11 杭州东信捷峻科技有限公司 Route track correction method based on raster map
CN104801044A (en) * 2015-05-12 2015-07-29 深圳市腾讯计算机系统有限公司 Method and device for generating trajectory vertex sequence

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113592763A (en) * 2020-04-30 2021-11-02 深圳云甲科技有限公司 Pile core detection method and device based on curvature direction

Also Published As

Publication number Publication date
CN104801044B (en) 2017-12-12
CN104801044A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
WO2018058959A1 (en) Sql auditing method and apparatus, server and storage device
WO2016053067A1 (en) 3-dimensional model generation using edges
WO2020164281A1 (en) Form parsing method based on character location and recognition, and medium and computer device
WO2018036167A1 (en) Test task executor assignment method, device, server and storage medium
WO2014069764A1 (en) Base sequence alignment system and method
WO2020231226A1 (en) Method of performing, by electronic device, convolution operation at certain layer in neural network, and electronic device therefor
WO2018000174A1 (en) Rapid and parallelstorage-oriented dna sequence matching method and system thereof
WO2016180218A1 (en) Method for generating track line vertex sequence, terminal and server
WO2019132566A1 (en) Method for automatically generating multi-depth image
EP2883065A1 (en) Method and apparatus for modelling power consumption of integrated circuit
WO2022108318A1 (en) Apparatus and method for analyzing smart contract code vulnerabilities
WO2019245320A1 (en) Mobile robot device for correcting position by fusing image sensor and plurality of geomagnetic sensors, and control method
WO2019117450A1 (en) Component search and repair device and method for maintaining partial damage of component, and 3d printing-based component maintenance system
WO2018014594A1 (en) Network request and response processing method, device, terminal, server and storage medium
WO2020231035A1 (en) Image processing apparatus and operating method of the same
WO2018072172A1 (en) Method and apparatus for identifying shapes within images, device and computer storage medium
WO2018117504A1 (en) Apparatus and method for managing multi-dimensional data
WO2018221998A1 (en) Method for automatically analyzing bottleneck in real time and an apparatus for performing the method
WO2020037566A1 (en) Image processing and matching method and device and storage medium
WO2014119848A1 (en) System for recombining genome sequence in consideration of read length and method thereof
WO2020101424A1 (en) Strong laser scanner matching method and apparatus considering movement of ground robot
WO2023214811A1 (en) Method and apparatus for generating pattern based on measurement parameters
WO2013081304A1 (en) Image conversion apparatus and method for converting two-dimensional image to three-dimensional image, and recording medium for same
WO2013115429A1 (en) Apparatus and method for generating interleaver index
US11755522B1 (en) Method, electronic device, and computer program product for implementing blockchain system on switch

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16792068

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 10/04/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16792068

Country of ref document: EP

Kind code of ref document: A1