CN116401408A - Object attribute processing method based on polygon area set - Google Patents

Object attribute processing method based on polygon area set Download PDF

Info

Publication number
CN116401408A
CN116401408A CN202310213381.0A CN202310213381A CN116401408A CN 116401408 A CN116401408 A CN 116401408A CN 202310213381 A CN202310213381 A CN 202310213381A CN 116401408 A CN116401408 A CN 116401408A
Authority
CN
China
Prior art keywords
attribute
polygon area
processed
polygon
area set
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310213381.0A
Other languages
Chinese (zh)
Inventor
柳忠杰
李志龙
刘桂卫
崔庆国
周令新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Railway Design Corp
Original Assignee
China Railway Design Corp
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 China Railway Design Corp filed Critical China Railway Design Corp
Priority to CN202310213381.0A priority Critical patent/CN116401408A/en
Publication of CN116401408A publication Critical patent/CN116401408A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/909Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Library & Information Science (AREA)
  • Image Generation (AREA)

Abstract

The invention relates to the field of object attribute processing, in particular to an object attribute processing method based on a polygon area set, which comprises the following steps: obtaining a polygon area set describing the corresponding attribute of the object to be processed by using the object to be processed; completing the processing of the corresponding attribute of the object to be processed according to the polygon area set; for an object to be processed with a polygonal boundary, when different sub-regions of a certain attribute in the polygonal boundary have different values, the attribute can be rapidly and accurately described, the solving conclusion of the attribute value at any given position can be rapidly obtained, and the automatic processing of the object attribute association operation can be further supported.

Description

Object attribute processing method based on polygon area set
Technical Field
The invention relates to the field of object attribute processing, in particular to an object attribute processing method based on a polygon area set.
Background
In real-world production or life, the application of object properties based on polygon area sets is very wide, for example: the query of the surface roughness coefficient at any position in a certain area, the query of the rainfall at any position in a certain area and the like can be abstracted into the following problems: an object with a polygonal boundary, whose attribute may have different values for different sub-regions within the boundary, requires the value of the attribute to be found for any given position. This problem can be solved by creating, managing and applying object attributes based on polygon area sets, and has important significance for actual production or life. At present, the existing solution to the problems is low in efficiency and often has the problems of complicated creation links, unsmooth management links, delayed application links and the like for various reasons.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an object attribute processing method based on a polygon area set, which can rapidly and accurately describe the attribute by completing data attribute processing based on the polygon area set.
In order to achieve the above object, the present invention provides a method for processing object attributes based on a polygon area set, including:
obtaining a polygon area set describing the corresponding attribute of the object to be processed by using the object to be processed;
and finishing the processing of the attribute corresponding to the object to be processed according to the polygon area set.
Preferably, obtaining the polygon area set describing the corresponding attribute of the object to be processed by using the object to be processed includes:
acquiring an object to be processed;
establishing a polygon area set describing the corresponding attribute of the object to be processed by using the object to be processed;
the set elements in the polygon area set are polygon area objects, and the numerical value attribute of the polygon area objects is the sub-area corresponding numerical value of the attribute corresponding to the object to be processed in the polygon boundary of the object to be processed.
Further, the acquiring the polygonal area object includes:
obtaining boundary data of an object to be processed;
acquiring attribute default value data of an object to be processed;
acquiring reference layer numbers representing the sequence of polygonal area objects;
creating a polygon area object by utilizing boundary data of the object to be processed, attribute default value data of the object to be processed and layer numbers representing the sequence of the polygon area object;
and after the assignment processing is carried out on the polygon area object, adding the object to be processed to establish a polygon area set of the corresponding attribute of the object to be processed.
Further, establishing a polygon area set describing the corresponding attribute of the object to be processed by using the object to be processed includes:
creating a polygonal area object corresponding to the polygonal sub-area;
and after the assignment processing is carried out on the polygon area object, adding the object to be processed to establish a polygon area set of the corresponding attribute of the object to be processed.
Preferably, completing the attribute processing of the object to be processed according to the polygon area set includes:
performing collective element operation processing by utilizing the polygon area set;
and carrying out solving processing by utilizing the polygon area set.
Further, performing collective element operation processing by using the polygon area set includes:
when the polygon area object in the polygon area set has the processes of adding, inserting, modifying and deleting, the current polygon area set is saved.
Further, the solving processing by using the polygon area set includes:
and acquiring an attribute solving value of the corresponding position of the object to be processed by using the polygon area set.
Compared with the closest prior art, the invention has the following beneficial effects:
for an object with a polygonal boundary, when a certain attribute of the object has different values in different subareas in the polygonal boundary of the object, the attribute can be rapidly and accurately described, the solving conclusion of the attribute value at any given position can be rapidly solved, and the automation processing of the object attribute association operation can be further supported.
Drawings
FIG. 1 is a flow chart of an object attribute processing method based on a polygon area set;
fig. 2 is a flowchart of an implementation of an object attribute processing method based on a polygon area set according to the present invention.
Fig. 3 is an exemplary diagram of a polygon area object R0 created by using polygon boundary data of an object E according to an object attribute processing method based on a polygon area set.
Fig. 4 is an exemplary diagram of acquiring polygon boundary data of a sub-region Zm by using a boundary and an auxiliary polyline of a polygon area object and a point in the sub-region Zm according to an object attribute processing method based on a polygon area set.
Fig. 5 is an exemplary diagram of a polygon area object Rm created by using polygon boundary data of a sub-area Zm in fig. 3 according to an object attribute processing method based on a polygon area set.
Fig. 6 is an exemplary diagram of acquiring sub-region Zn polygon boundary data by using boundaries and auxiliary broken lines of a plurality of polygon area objects and a point in the sub-region Zn according to an object attribute processing method based on a polygon area set.
Fig. 7 is an exemplary diagram of a polygon area object Rn created using polygon boundary data of a sub-area Zn in fig. 5 according to an object attribute processing method based on a polygon area set.
Fig. 8 is an exemplary diagram of values of an attribute P of an object E created by the object attribute processing method based on a polygon area set according to the present invention in a plurality of sub-areas with different values.
Detailed Description
The following describes the embodiments of the present invention in further detail with reference to the drawings.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1:
the invention provides an object attribute processing method based on a polygon area set, as shown in fig. 1, comprising the following steps:
s1, obtaining a polygon area set describing corresponding attributes of an object to be processed by using the object to be processed;
s2, finishing the processing of the attribute corresponding to the object to be processed according to the polygon area set.
S1 specifically comprises:
s1-1, obtaining an object to be processed;
s1-2, establishing a polygon area set for describing corresponding attributes of the object to be processed by using the object to be processed;
the set elements in the polygon area set are polygon area objects, and the numerical value attribute of the polygon area objects is the sub-area corresponding numerical value of the attribute corresponding to the object to be processed in the polygon boundary of the object to be processed.
S1-1 specifically comprises:
s1-1-1, acquiring boundary data of an object to be processed;
s1-1-2, acquiring attribute default value data of an object to be processed;
s1-1-3, obtaining a reference layer number representing the sequence of the polygonal area objects;
s1-1-4, creating a polygonal surface area object by utilizing boundary data of the object to be processed, attribute default value data of the object to be processed and layer numbers representing the sequence of the polygonal surface area object;
the boundary attribute of the polygon area object is boundary point coordinate data of the object to be processed, the numerical attribute of the polygon area object is attribute default value data of the object to be processed, and the layer number of the polygon area object is a reference layer number representing the sequence of the polygon area object, for example, 1.
S1-2 specifically comprises:
s1-2-1, acquiring a polygonal area object corresponding to a polygonal subarea;
s1-2-2, after performing assignment processing on the polygon area object, adding the object to be processed to establish a polygon area set of the corresponding attribute of the object to be processed.
S2 specifically comprises:
s2-1, performing collective element operation processing by utilizing the polygon area set;
s2-2, solving the polygon area set.
S2-1 specifically comprises:
s2-1-1, when the polygon area objects in the polygon area set are subjected to adding, inserting, modifying and deleting processes, the current polygon area set is stored.
S2-2 specifically comprises:
s2-2-1, acquiring an attribute solution value of a position corresponding to the object to be processed by utilizing the polygon area set.
In this embodiment, a method for processing object attributes based on a polygon area set, as shown in fig. 2, includes:
(A) Acquiring an object E to be processed with polygonal boundary data; creating a polygon area object R0 describing a default value of an attribute P of the object E, and adding the R0 into a polygon area set Rs describing the attribute P of the object E;
(B) Processing the situation that the attribute P of the object E has different values in the subareas in the polygon boundary of the object E;
(C) Management of a polygon area set Rs for an attribute P describing an object E;
(D) Application of a set of polygonal areas Rs for describing the properties P of the object E.
The method comprises the steps that an object E is provided with a polygonal boundary, a polygonal area set Rs is a container object, aggregate elements in the polygonal area set Rs are polygonal areas and are used for describing the condition that an attribute P of the object E has different values in subareas in the polygonal boundary of the object E, the polygonal area set Rs manages polygonal area objects in the container in a layered mode, the polygonal area is a data structure and is defined in a class or structure body mode, boundary attribute Bd records boundary point coordinate data of orderly arranged polygonal areas, numerical attribute Va records values of the attribute P of the object E in the polygonal area boundary, layer number attribute Ly records layer numbers of the polygonal area, and the values of boundary attribute Bd of the polygonal area object R0 are taken from the polygonal boundary data of the object E; the value of the numeric attribute Va of the polygon area object R0 is taken from the default value P0 of the attribute P of the object E; the value of the layer number attribute Ly of the polygon area object R0 is taken from the reference layer number L0 used for the current polygon area object creation.
The step (B) is that the attribute P of the object E has different values in a certain sub-region, which means that a plurality of sub-regions are divided within the polygon boundary of the object E, wherein the values of the attribute P of the object E in each sub-region are different, there is no limitation on the number of the sub-regions divided within the polygon boundary of the object E, and the attribute P of the processing object E has different values in the sub-region, which means that a polygon area object Ri matching with the sub-region Zi is created, and after assigning each member attribute of the polygon area object Ri, the polygon area object Ri is added to the polygon area set Rs describing the attribute P of the object E.
The step (C) is that the management of the polygon area set Rs for describing the attribute P of the object E is a process of adding, inserting, modifying and deleting the polygon area set Rs set elements describing the attribute P of the object E and a process of saving and recovering the polygon area set Rs describing the attribute P of the object E.
The step (D) is that the application of the polygon area set Rs for describing the attribute P of the object E refers to the quick and accurate solving conclusion of the value of the attribute P of the object E at any specified position Pos.
(A) Acquiring an object E to be processed with polygonal boundary data; setting a layer number used for creating a current polygon area object to be L0; a polygon area object R0 describing the default value of the attribute P of the object E is created, and after assigning each member attribute of the polygon area object R0, the polygon area object R0 is added to the polygon area set Rs describing the attribute P of the object E.
Here, the polygon area objects in the polygon area set Rs are managed in a hierarchical manner, and the positions of layers where the polygon area objects are located are indicated from small to large in layer numbers from bottom to top.
Here, the polygon area refers to a data structure defined in the form of a class or a structure body, the boundary attribute Bd records coordinate data of boundary points of the polygon area sequentially arranged, the numerical attribute Va records a value of an attribute P of an object E in the boundary of the polygon area, and the layer number attribute Ly records a layer number where the polygon area is located.
For the above specific embodiment, the creation of the polygon area object R0, adding the polygon area object R0 to the polygon area set Rs describing the attribute P of the object E, is performed as follows:
(A1) An object E having polygon boundary data is acquired.
(A2) Setting the layer number used for creating the current polygon area object as L0, setting the value of L0 as 0, creating the polygon area object R0, and assigning values to each member attribute of the polygon area object R0, wherein the method comprises the following steps:
the value of the boundary attribute Bd of the (A2-1) polygon area object R0 is taken from the polygon boundary data of the object E.
The value of the numeric attribute Va of (A2-2) the polygonal area object R0 is taken from the default value P0 of the attribute P of the object E.
The value of the layer number attribute Ly of (A2-3) polygon area object R0 is taken from the layer number L0 used for the current polygon area object creation.
(A3) The polygon area object R0 is added to the polygon area set Rs describing the attribute P of the object E.
Here, the polygon area object R0 describes the default value of the attribute P of the object E as the lowest-layer member in the polygon area set Rs describing the attribute P of the object E.
(B) The case where the attribute P of the object E has different values for each sub-region within the polygon boundary of the object E is handled.
Here, the case where the attribute P of the object E has different values in a certain sub-region means that a plurality of sub-regions are divided within the polygon boundary of the object E, wherein the value of the attribute P of the object E is different in each sub-region.
Here, there is no limitation on the number of division of the sub-regions within the polygon boundary of the object E.
Here, the condition that the attribute P of the processing object E has different values in a certain sub-region refers to creating a polygon area object Ri matching with the sub-region Zi, assigning a value to each member attribute of the polygon area object Ri, and adding the polygon area object Ri to the polygon area set Rs describing the attribute P of the object E.
Here, when the attribute P of the processing object E has different values in a certain sub-region, the following steps are performed:
(B1) Judging: if there is no case where the attribute P of the unprocessed object E has a different value in a certain sub-region, performing step (B2); if there is a case where the attribute P of the unprocessed object E has different values in a certain sub-area, the processing is performed as follows:
(B1-1) selecting sub-regions Zi in which the attribute P of a certain unprocessed object E has different values.
(B1-2) setting the layer number used for creation of the current polygon area object to Li.
Here, the value of the layer number Li is set to be the value of the layer number Li-1 of the previous layer plus a constant value, for example, 10, which can represent different positions of the layer where the polygon area object is created, and simultaneously meet the requirement of inserting the set element in the polygon area set Rs describing the attribute P of the object E.
(B1-3) creating a polygonal area object Ri, assigning values to each member attribute of the polygonal area object Ri, according to the following steps:
the value of the boundary attribute Bd of the (B1-3-1) polygonal area object Ri is taken from the polygonal boundary data of the sub-area Zi.
Here, the polygon boundary data of the sub-region Zi is acquired by the "minimum closed region discovery method (patent No. ZL 201410385509.2) surrounding a given point in a two-dimensional graph" patent technology.
Here, polygon boundary data of the sub-region Zi is acquired, and the following steps are performed:
(B1-3-1-1) creating an empty aggregate container S to accommodate the line segments and/or the polyline.
(B1-3-1-2) traversing all the polygon area objects in the polygon area set Rs of the attribute P of the object E, for each polygon area object Rj, processing the related data as follows:
and (B1-3-1-2-1) judging: if the value of the layer number attribute Ly of the polygon area object Rj is smaller than the layer number Li used for the current polygon area object creation, the value of the boundary attribute Bd of the polygon area object Rj is added to the container S.
(B1-3-1-3) if necessary, providing auxiliary line segments or auxiliary folding lines, added to the container S, enabling members in the container S to form a closed figure that describes the polygonal boundary of the sub-region Zi.
Here, providing the auxiliary line segment or auxiliary broken line as necessary means providing the corresponding auxiliary line segment or auxiliary broken line only when the boundary attribute Bd of the polygon area object conforming to the condition cannot be enclosed to form the closed polygon boundary describing the sub-area Zi.
(B1-3-1-4) selecting any point Pt within the polygonal boundary of the sub-region Zi.
(B1-3-1-5) acquiring data describing a polygonal boundary of the sub-region Zi by using the collective elements in the container S and the selected point Pt and using a "minimum closed region discovery method (patent number ZL 201410385509.2) for surrounding the given point in a two-dimensional graph" patent technique.
The value of the numerical attribute Va of the (B1-3-2) polygonal area object Ri is taken from the value Pi of the attribute P of the object E within the sub-area Zi.
The value of the layer number attribute Ly of the (B1-3-3) polygonal area object Ri is taken from the layer number Li used for the current polygonal area object creation.
(B1-4) adding the polygonal area object Ri to the polygonal area set Rs describing the attribute P of the object E.
(B1-5) returning to step (B1).
(B2) The processing is completed in the case where the attribute P of the object E has different values in a certain sub-area.
(C) Management of a set of polygonal areas Rs for an attribute P describing an object E, comprising the steps of:
(C1-1) adding, inserting, modifying, deleting the set elements in the polygon area set Rs describing the attribute P of the object E as required.
Here, in performing the insert operation on the set element in the polygon area set Rs describing the attribute P of the object E, it is necessary to set the value of the layer number where the current polygon area object is created to a value between the values of the member attribute layer numbers Ly of the upper and lower adjacent layer polygon area objects.
(C1-2) saving a polygon area set Rs describing an attribute P of the object E.
Here, the polygon area set Rs describing the attribute P of the object E is saved in order to be able to restore the polygon area set Rs describing the attribute P of the object E when reconstructing the object E, instead of being recreated.
Here, when the polygon area set Rs describing the attribute P of the object E is saved and restored, it is necessary to perform serialization and deserialization processing on the polygon area set Rs describing the attribute P of the object E.
(D) The application of the polygonal area set Rs for describing the property P of the object E is performed as follows:
(D1) The position Pos at which the value of the attribute P of the object E is to be acquired is given.
(D2) Judging: if the position Pos is outside the polygon boundary range of the object E, the value of the attribute P of the object E cannot be obtained, the solution fails, and step (D3) is executed; if the position Pos is within the polygon boundary of the object E, the following steps are performed:
(D2-1) the set elements in the polygon area set Rs describing the attribute P of the object E are arranged in descending order of layer number Ly.
Here, the collective elements in the polygon area set Rs describing the attribute P of the object E are arranged in descending order of layer number Ly, so as to be performed in order from top to bottom of the layers in which the polygon area objects in the polygon area set Rs are located when solving the value of the attribute P of the object E to traverse the polygon area objects.
(D2-2) sequentially looping all the polygonal area objects in the polygonal area set Rs of the attribute P of the processing object E, according to the following steps:
(D2-2-1) setting the value of the cycle counter K to 1.
(D2-2-2) sequentially fetching the kth polygonal-area object Rk from the polygonal-area set Rs of the attribute P of the object E.
And (D2-2-3) judging: if the position Pos is within the range of the boundary attribute Bd of the polygon area object Rk, the value of the attribute P of the object E is equal to the value of the numerical attribute Va of the polygon area object Rk, the solving is successful, the loop is interrupted, and the step (D3) is executed; if the position Pos is outside the boundary attribute Bd of the polygon area object Rk, the loop counter K is incremented by 1, and the process returns to step (D2-2-2) to execute the next loop.
(D3) And outputting a solving conclusion, and ending the solving work.
Here, when the value of the attribute P of the specified position object E cannot be acquired, outputting a corresponding prompt; when the value of the attribute P of the specified position object E is successfully acquired, the obtained attribute value is output.
Fig. 2 is a flowchart showing an example of an object attribute processing method based on a polygon area set according to the present invention, and illustrates basic processing steps of the object attribute processing method based on a polygon area set according to the present invention.
In fig. 2, a to-be-processed object E having polygon boundary data is first acquired (step S101).
Then, the polygon area R0 of the L0 th layer is created and processed, and after assigning values to the respective member attributes of the polygon area object R0, the polygon area object R0 is added to the polygon area set Rs describing the attribute P of the object E (step S102).
Here, the value of the boundary attribute Bd of the polygon area R0 of the L0 th layer is taken from the polygon boundary data of the object E, and the value of the numerical attribute Va of the polygon area R0 is taken from the default value P0 of the attribute P of the object E.
Then, the attribute P of the processing object E has a different value in a certain sub-region.
First, it is determined whether or not the attribute P of the unprocessed object E has a different value in a certain sub-area (step S103).
If there is a case where the attribute P of the unprocessed object E has a different value in a certain sub-region, the polygon area Ri of the Li-th layer is created and processed and added to the polygon area set Rs (step S104), and then returned (step S103).
If there is no case where the attribute P of the unprocessed object E has a different value in a certain sub-region, the polygon area set Rs describing the attribute P of the object E is managed (step S105).
Here, the processing of adding, inserting, modifying, deleting, etc. the set elements in the polygon area set Rs describing the attribute P of the object E is mainly completed as needed, and the processing of saving and restoring the polygon area set Rs describing the attribute P of the object E is completed.
Then, an application may be made for the polygon area set Rs describing the attribute P of the object E (step S106).
Here, the creation and management of the polygon area set Rs describing the attribute P of the object E have been completed, and for any given position, a solution conclusion of the value of the attribute P of the object E can be conveniently and quickly obtained.
Fig. 3 is a diagram showing an example of a polygon area object R0 created using polygon boundary data of an object E, which is merely illustrative of general cases and has no specific meaning.
In fig. 3, the boundary nodes of the polygon area object R0 include points 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, from all nodes of the object E polygon boundary.
Fig. 4 is a diagram showing an example of acquiring polygon boundary data of a sub-region Zm by using a boundary of a polygon area object, i.e., R0 described in fig. 2, and an auxiliary polyline, and a point within the sub-region Zm, where the nodes of the auxiliary polyline include a point 301, a point 302, a point 303, and a point 404.
In fig. 4, any given point location within the sub-region Zm polygon boundary is point 321.
In fig. 4, points 311 and 312 are points of intersection, and are points automatically calculated by the "minimum closed region finding method (patent No. ZL 201410385509.2) surrounding a given point in a two-dimensional graph" patent technology. At the same time, all polygon boundary data of the sub-region Zm are acquired.
Fig. 5 is a diagram showing an example of the polygon area object Rm created using the polygon boundary data of the sub-area Zm in fig. 4.
In fig. 5, the boundary nodes of the polygonal area object R1 include points 401, 402, 403, 404, 405, 406, 407, 408, 409, all nodes of the polygonal boundary from the sub-area Zm, wherein the positions of the points 406, 409 are the positions of the points 311, 312 in fig. 4.
Fig. 6 is a diagram showing an example of acquiring polygon boundary data of a sub-region Zn using boundaries of a plurality of polygon area objects, that is, R0 described in fig. 3 and R1 described in fig. 5, and auxiliary folding lines and a point within the sub-region Zn, the nodes of the auxiliary folding lines including a point 501, a point 502, a point 503, a point 504, a point 505, a point 506, and a point 507.
In fig. 6, any given point location within the sub-region Zn polygon boundary is point 521.
In fig. 6, points 511 and 512 are points that are automatically calculated by the "minimum closed area finding method (patent No. ZL 201410385509.2) surrounding a given point in a two-dimensional graph" patent technology. Simultaneously, all polygonal boundary data of the subarea Zn are acquired.
Fig. 7 is a diagram showing an example of a polygon area object Rn created using polygon boundary data of the sub-area Zn in fig. 6.
In fig. 7, the boundary nodes of the polygonal area object R2 include points 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, all nodes of the polygonal boundary from the sub-area Zn, where the positions of points 601, 612 are the positions of points 511, 512 in fig. 6.
Fig. 8 is a diagram showing an example in which the value of the attribute P of the object E after creation is different in a plurality of sub-areas.
In fig. 8, a sub-region of the attribute P of the object E having a value of P0 corresponds to R0 in fig. 2, a sub-region of the attribute P of the object E having a value of P1 corresponds to R1 in fig. 5, and a sub-region of the attribute P of the object E having a value of P2 corresponds to R2 in fig. 7.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.

Claims (7)

1. An object attribute processing method based on a polygon area set, which is characterized by comprising the following steps:
obtaining a polygon area set describing the corresponding attribute of the object to be processed by using the object to be processed;
and finishing the processing of the attribute corresponding to the object to be processed according to the polygon area set.
2. The method for processing object attributes based on polygon surface area set as claimed in claim 1, wherein obtaining the polygon surface area set of the corresponding attribute of the object to be processed by using the object to be processed comprises:
acquiring an object to be processed;
establishing a polygon area set describing the corresponding attribute of the object to be processed by using the object to be processed;
the set elements in the polygon area set are polygon area objects, and the numerical value attribute of the polygon area objects is the sub-area corresponding numerical value of the attribute corresponding to the object to be processed in the polygon boundary of the object to be processed.
3. The method for processing object attributes based on polygon area set as claimed in claim 2, wherein said obtaining polygon area object comprises:
obtaining boundary data of an object to be processed;
acquiring attribute default value data of an object to be processed;
acquiring reference layer numbers representing the sequence of polygonal area objects;
creating a polygon area object by utilizing boundary data of the object to be processed, attribute default value data of the object to be processed and layer numbers representing the sequence of the polygon area object;
and after the assignment processing is carried out on the polygon area object, adding the object to be processed to establish a polygon area set of the corresponding attribute of the object to be processed.
4. The method for processing object attributes based on polygon area set as claimed in claim 2, wherein creating the polygon area set of the corresponding attribute of the object to be processed using the object to be processed comprises:
creating a polygonal area object corresponding to the polygonal sub-area;
and after the assignment processing is carried out on the polygon area object, adding the object to be processed to establish a polygon area set of the corresponding attribute of the object to be processed.
5. The method for processing the attributes of the object based on the polygon area set as claimed in claim 1, wherein completing the attribute processing of the object to be processed according to the polygon area set comprises:
performing collective element operation processing by utilizing the polygon area set;
and carrying out solving processing by utilizing the polygon area set.
6. The method for processing object attributes based on a polygon area set according to claim 5, wherein performing collective element operation processing using the polygon area set comprises:
when the polygon area object in the polygon area set has the processes of adding, inserting, modifying and deleting, the current polygon area set is saved.
7. The method of claim 5, wherein the solving using the polygon area set comprises:
and acquiring an attribute solving value of the corresponding position of the object to be processed by using the polygon area set.
CN202310213381.0A 2023-03-03 2023-03-03 Object attribute processing method based on polygon area set Pending CN116401408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310213381.0A CN116401408A (en) 2023-03-03 2023-03-03 Object attribute processing method based on polygon area set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310213381.0A CN116401408A (en) 2023-03-03 2023-03-03 Object attribute processing method based on polygon area set

Publications (1)

Publication Number Publication Date
CN116401408A true CN116401408A (en) 2023-07-07

Family

ID=87018716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310213381.0A Pending CN116401408A (en) 2023-03-03 2023-03-03 Object attribute processing method based on polygon area set

Country Status (1)

Country Link
CN (1) CN116401408A (en)

Similar Documents

Publication Publication Date Title
TWI352302B (en) Integrated configuration, flow and execution syste
EP1480144A1 (en) Planning and scheduling for failure recovery system and method
EP1426842B1 (en) Production cell comprising an information processing device for commanding work tasks
JP2015510638A (en) Method and apparatus for performing geometric transformations of objects in an object oriented environment using multi-transaction techniques
CN105745585A (en) Offloading human-machine-interaction tasks
Anisimov et al. Model and algorithm for substantiating solutions for organization of high-rise construction project
US10614051B2 (en) Method for operating an engineering system for an industrial process automation system, and control program
CN113642912A (en) Method, system, equipment and storage medium for reporting labor and preventing mistake
US11341292B2 (en) Production plan supporting apparatus and method
CN113554324B (en) Production process withdrawal method, system, equipment and storage medium
CN116401408A (en) Object attribute processing method based on polygon area set
Sakr et al. Building discrete-event simulation for digital twin applications in production systems
US20190391553A1 (en) Control Program and Method for Operating an Engineering System for an Industrial Process Automation System
CN116820427A (en) Software research and development project management method, device and medium
KR101566355B1 (en) Master pattern generation method and apparatus for checking normal operation of plc based manufacturing system
WO2015145318A1 (en) Improved computer-implemented method for defining the points of development of supporting elements of an object made by means of a stereolithography process
CN110009742A (en) System and method for finite element mesh reparation
CN111104707B (en) Method, system and medium for constructing middle and outer scaffold of digital building
Karnok et al. Determination of routings and process time information from event logs
CN114675948A (en) DAG data model dynamic scheduling method and system
CN111045390A (en) Control system for machine tool
CN111652377A (en) Robot learning method, device and medium based on block chain
JP2008226044A (en) Alternate skill scheduling system, scheduling method and program
CN107851133B (en) Method, system, and medium for geometric transformation of objects in an object-oriented environment
JP7437366B2 (en) How to operate a cell-based mobility production system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination