gustaf.vertices.Vertices#

class gustaf.vertices.Vertices(vertices=None)[source]#

Bases: GustafBase

Methods

Vertices.bounds()

Returns bounds of the vertices.

Vertices.bounds_diagonal()

Returns diagonal vector of the bounding box.

Vertices.bounds_diagonal_norm()

Returns norm of bounds diagonal.

Vertices.concat(*instances)

Sequentially put them together to make one object.

Vertices.copy()

Returns deepcopy of self.

Vertices.merge_vertices([tolerance])

Based on unique vertices, merge vertices if it is mergeable.

Vertices.remove_vertices(ids)

Removes vertices with given vertex ids.

Vertices.select_vertices(ranges)

Returns vertices inside the given range.

Vertices.show(**kwargs)

Show current object using visualization backend.

Vertices.showable(**kwargs)

Returns showable object, meaning object of visualization backend.

Vertices.unique_vertices([tolerance])

Returns a namedtuple that holds unique vertices info.

Vertices.update_vertices(mask[, inverse])

Update vertices with a mask.

Attributes

Vertices.const_vertices

Returns non-mutable view of vertices.

Vertices.kind

Vertices.show_options

Returns a show option manager for this object.

Vertices.vertex_data

Returns vertex_data manager.

Vertices.vertices

Returns vertices.

Vertices.whatami

"what am i"?