Functions | |
def | demo1 |
def | demo2 |
def | gaussian_curvature |
Optional imports below: from enthought.mayavi import mlab [3d plotting]. | |
def | gaussian_curvature2 |
Calculates a coordinate system & eigen values of given points matrix. | |
def | generate_pts |
def | plot_axis |
def | spread |
def gaussian_curvature.demo1 | ( | ) |
Definition at line 145 of file gaussian_curvature.py.
def gaussian_curvature.demo2 | ( | ) |
Definition at line 157 of file gaussian_curvature.py.
def gaussian_curvature.gaussian_curvature | ( | points, | |
p = np.matrix([0,0 , |
|||
T | |||
) |
Optional imports below: from enthought.mayavi import mlab [3d plotting].
Fits a plane
points | 3xn numpy matrix representing points to be fitted |
d | direction that normal calculated should point in |
Definition at line 40 of file gaussian_curvature.py.
def gaussian_curvature.gaussian_curvature2 | ( | points, | |
x = np.matrix([1,0 , |
|||
T, | |||
z = np.matrix([0,0 , |
|||
T | |||
) |
Calculates a coordinate system & eigen values of given points matrix.
points | 3xn numpy matrix representing points to be fitted |
x | first principle direction to match to |
z | second direction to match to |
Definition at line 79 of file gaussian_curvature.py.
def gaussian_curvature.generate_pts | ( | ) |
Definition at line 132 of file gaussian_curvature.py.
def gaussian_curvature.plot_axis | ( | x, | |
y, | |||
z, | |||
directions | |||
) |
Definition at line 125 of file gaussian_curvature.py.
def gaussian_curvature.spread | ( | points | ) |
Definition at line 61 of file gaussian_curvature.py.