Skip to content

simgeometry.pointlist

Pointlist helpers for geometry, grids, and simulation domains.

Classes

NameDescription
PointListA class representing a list of points in ND space.

PointListclass#

class PointList(points: list, inverted: bool = False)

A class representing a list of points in ND space.

invertedattributeinstance attribute#

inverted = inverted

pointsattributeinstance attribute#

points = points

add_pointmethod#

def add_point(point: Point) -> None

Add a point to the list.

Parameters: point (Point): A Point object to add to the list.

get_coordinatesmethod#

def get_coordinates() -> list[tuple]

Get the coordinates of all points in the list.

Returns: list: List of coordinates for each point.