mt.geond.point
The base class to represent a point.
For efficiency reasons, please try to bunch points into arrays or lists and use appropriate representations instead of using single points implemented here.
Functions
castable_ndarray_Point()
: Undocumented.
- mt.geond.point.castable_ndarray_Point(obj, ndim)
Classes
Point
: A point.
- class mt.geond.point.Point(point, check=True)
A point.
- Parameters:
point (iterable) – A list of point coordinates, 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
- point
The point in numpy.
- Type:
numpy.ndarray(shape=(D,))
Inheritance
digraph inheritance34648eda03 { 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."]; "Point" [URL="#mt.geond.point.Point",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 point."]; "GeometricObject" -> "Point" [arrowsize=0.5,style="setlinewidth(0.5)"]; }- __init__(point, check=True)