mt.geond.point_list

The base class to represent a list of points.

Functions

mt.geond.point_list.castable_ndarray_PointList(obj, ndim)

Classes

class mt.geond.point_list.PointList(point_list, check=True)

A list of points.

Parameters:
  • point_list (list) – A list of points, each of which is an iterable of D items, where D is the ndim of the class.

  • check (bool) – Whether or not to check if the shape is valid

points

The list of points in numpy.

Type:

numpy.ndarray(shape=(N,D))

Inheritance

digraph inheritancea983eeb183 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "GeometricObject" [URL="../mt.geo/mt.geo.object.html#mt.geo.object.GeometricObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A geometric object which lives in a d-dimensional Euclidean space."]; "PointList" [URL="#mt.geond.point_list.PointList",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A list of points."]; "GeometricObject" -> "PointList" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
__init__(point_list, check=True)