Vertex

class itasca.wall.vertex.Vertex
Objects of this type should not be created (instantiated) directly in Python. Use the module functions that return instances of this type.
delete() → None.

Delete this vertex. All facets sharing the vertex are deleted and the wall position is updated.

facets() → tuple of facet objects.

Get the facets sharing this vertex.

id() → int.

Get the vertex id.

pos() → vec.

Get the vertex location (vector).

pos_x() → float.

Get the x-component of the vertex location.

pos_y() → float.

Get the y-component of the vertex location.

set_pos(value: vec) → None.

Set the vertex location (vector).

set_pos_x(value: float) → None.

Set the x-component of the vertex location.

set_pos_y(value: float) → None.

Set the y-component of the vertex location.

set_vel(value: vec) → None.

Set the vertex velocity (vector).

set_vel_x(value: float) → None.

Set the x-component of the vertex velocity.

set_vel_y(value: float) → None.

Set the y-component of the vertex velocity.

valid() → bool.

Get True of this object is a live vertex.

vel() → vec.

Get the vertex velocity (vector).

vel_x() → float.

Get the x-component of the vertex velocity.

vel_y() → float.

Get the y-component of the vertex velocity.