FIELD: instrument making.
SUBSTANCE: invention relates to recovery of logic hierarchy of two-dimensional objects. Method for recovery of logic hierarchy comprises: extraction of the first two-dimensional object and the second two-dimensional object; determination of presence of a first common part of the two-dimensional objects perimeters; determination of a connection of the first common perimeter part in the same direction; when a sequence of two extreme points of the first common perimeter part is connected in the same direction: determination of the two-dimensional objects sizes and determination of whether the smaller two-dimensional object is inside the larger two-dimensional object; determination that the first two-dimensional object and the second two-dimensional object are adjacent when connected in opposite directions to the sequence of the two extreme points of the first common perimeter part, regarding the first two-dimensional object and the second two-dimensional object.
EFFECT: technical result is restoration of logic hierarchy of two-dimensional objects.
14 cl, 13 dwg
Authors
Dates
2016-12-20—Published
2015-05-25—Filed