File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -45,4 +45,4 @@ cdef extern from "chemkit/point3.h" namespace "chemkit":
45
45
double x()
46
46
double y()
47
47
double z()
48
- bool isNull ()
48
+ bool isZero ()
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ cdef class Point3:
63
63
64
64
return self ._point3.z()
65
65
66
- def isNull (self ):
67
- """ Returns True if the point is null (i.e. (0, 0, 0))."""
66
+ def isZero (self ):
67
+ """ Returns True if the point is zero (i.e. (0, 0, 0))."""
68
68
69
- return self ._point3.isNull ()
69
+ return self ._point3.isZero ()
Original file line number Diff line number Diff line change @@ -45,4 +45,4 @@ cdef extern from "chemkit/vector3.h" namespace "chemkit":
45
45
double x()
46
46
double y()
47
47
double z()
48
- bool isNull ()
48
+ bool isZero ()
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ cdef class Vector3:
63
63
64
64
return self ._vector3.z()
65
65
66
- def isNull (self ):
67
- """ Returns True if the vector is null (i.e. (0, 0, 0))."""
66
+ def isZero (self ):
67
+ """ Returns True if the vector is zero (i.e. (0, 0, 0))."""
68
68
69
- return self ._vector3.isNull ()
69
+ return self ._vector3.isZero ()
You can’t perform that action at this time.
0 commit comments