mt.geo3d.point_list

The base class to represent a list of points.

Classes

class mt.geo3d.point_list.PointList3d(point_list: list | ndarray | array)

A list of 3D points.

See PointList for more details.

Parameters:
  • point_list (list or numpy.ndarray or glm.array) – 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_glm

The array of vec3 points

Type:

glm.array

points

The numpy view of points_glm

Type:

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

Inheritance

digraph inheritance373c88956b { 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/mt.geond.point_list.html#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)"]; "PointList3d" [URL="#mt.geo3d.point_list.PointList3d",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 3D points."]; "ThreeD" -> "PointList3d" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PointList" -> "PointList3d" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ThreeD" [URL="../mt.geo/mt.geo.object.html#mt.geo.object.ThreeD",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="Mixin to assert that the geometric object lives in 3D Euclidean space."]; }
__init__(point_list: list | ndarray | array)