Skip to content

Commit 464f065

Browse files
committed
Updated sphinx doco
1 parent fefb778 commit 464f065

File tree

9 files changed

+77
-18
lines changed

9 files changed

+77
-18
lines changed

docs/source/2d_line.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2D line
2+
^^^^^^^
3+
4+
.. autoclass:: spatialmath.geom2d.Line2
5+
:members:
6+
:undoc-members:

docs/source/2d_polygon.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2D polgon
2+
^^^^^^^^^
3+
4+
.. autoclass:: spatialmath.geom2d.Polygon2
5+
:members:
6+
:undoc-members:
7+
:special-members: __init__, __str__, __len__

docs/source/classes-3d.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
11

2+
Geometry
3+
--------
4+
5+
.. automodule:: spatialmath.geom3d
6+
:members:
7+
:undoc-members:
8+
:show-inheritance:
9+
:inherited-members:
10+
:special-members: __mul__, __rmul__, __eq__, __ne__, __init__, __or__, __xor__

docs/source/func_2d_graphics.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2D graphics
2+
===========
3+
4+
2d graphical primitives which build on Matplotlib.
5+
6+
.. automodule:: spatialmath.base.graphics
7+
:members: plot_point, plot_homline, plot_box, plot_circle, plot_ellipse, plotvol2

docs/source/func_3d_graphics.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
3D graphics
2+
===========
3+
4+
3d graphical primitives which build on Matplotlib ``plot_wireframe`` and ``plot_surface``.
5+
6+
.. automodule:: spatialmath.base.graphics
7+
:members: plot_cuboid, plot_sphere, plot_ellipsoid, plot_cylinder, plot_cone, plotvol3

docs/source/func_animation.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Animation support
2+
=================
3+
4+
.. automodule:: spatialmath.base.animate
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
8+
:inherited-members:
9+
:special-members:

docs/source/func_graphics.rst

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
Graphics and animation
22
======================
33

4-
.. automodule:: spatialmath.base.animate
5-
:members:
6-
:undoc-members:
7-
:show-inheritance:
8-
:inherited-members:
9-
:special-members:
104

11-
.. automodule:: spatialmath.base.graphics
12-
:members:
13-
:undoc-members:
14-
:show-inheritance:
15-
:inherited-members:
16-
:special-members:
5+
.. toctree::
6+
:maxdepth: 2
7+
8+
func_2d_graphics
9+
func_3d_graphics
10+
func_animation
11+

docs/source/functions.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ Function reference
1212
func_quat
1313
func_symbolic
1414
func_vector
15-
func_args
1615
func_graphics
16+
func_args
17+
1718

1819

1920

docs/source/spatialmath.rst

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,25 @@ Orientation in 3D
5252
6d_momentum.rst
5353
6d_inertia.rst
5454

55-
Geometry
56-
--------
55+
Geometry in 3D
56+
--------------
57+
58+
.. toctree::
59+
:maxdepth: 2
60+
61+
3d_line
62+
3d_plane
63+
64+
Supporting
65+
----------
5766

5867
.. toctree::
5968
:maxdepth: 2
6069

6170
3d_quaternion
6271
3d_dualquaternion
63-
3d_plucker
64-
3d_plane
72+
73+
---------------
6574

6675
2D-space
6776
========
@@ -81,4 +90,13 @@ Orientation in 2D
8190
.. toctree::
8291
:maxdepth: 2
8392

84-
2d_orient_SO2
93+
2d_orient_SO2
94+
95+
Geometry in 2D
96+
--------------
97+
98+
.. toctree::
99+
:maxdepth: 2
100+
101+
2d_line
102+
2d_polygon

0 commit comments

Comments
 (0)