4.2.3. Feature_Verticies

class pyprom.lib.containers.feature_verticies.Feature_Verticies(index, vertex_linkers)[source]

Feature_Verticies object stores Feature_Verticies data. pyprom.lib.locations.vertex_link.Vertex_Link connect a vertex from one feature to a vertex from another. This class stores a list of those.

It’s best to think of this as a polygon whose verticies are stored in self.vertex_linkers[:].local and those verticies are all all linked to foreign verticies

__init__(index, vertex_linkers)[source]
Parameters
__repr__()[source]
Returns

String representation of this object

__str__()
Returns

String representation of this object

__unicode__()
Returns

String representation of this object

__weakref__

list of weak references to the object (if defined)

shortest_link returns the shortest link found in self.vertex_linkers but ignores any links connecting to a foreign index container in ignored_link_index

Parameters

ignored_link_index ({idx: bool}) – index of links to ignore.

Returns

vertex link

Return type

pyprom.lib.locations.vertex_link.Vertex_Link