mt.geo3d.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.
Classes
Point3d
: A 3D point implemented in glm.
- class mt.geo3d.point.Point3d(point, check=True)
A 3D point implemented in glm.
See
Point
for more details.- point_glm
The point in glm.
- Type:
glm.vec3
- point
The numpy view of point_glm
- Type:
numpy.ndarray(shape=(3,), dtype=numpy.float32)
Inheritance
digraph inheritance3c7f1b5c4d { 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/mt.geond.point.html#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)"]; "Point3d" [URL="#mt.geo3d.point.Point3d",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 3D point implemented in glm."]; "ThreeD" -> "Point3d" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Point" -> "Point3d" [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, check=True)