__init__.py 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. """
  2. A geometry module for the SymPy library. This module contains all of the
  3. entities and functions needed to construct basic geometrical data and to
  4. perform simple informational queries.
  5. Usage:
  6. ======
  7. Examples
  8. ========
  9. """
  10. from sympy.geometry.point import Point, Point2D, Point3D
  11. from sympy.geometry.line import Line, Ray, Segment, Line2D, Segment2D, Ray2D, \
  12. Line3D, Segment3D, Ray3D
  13. from sympy.geometry.plane import Plane
  14. from sympy.geometry.ellipse import Ellipse, Circle
  15. from sympy.geometry.polygon import Polygon, RegularPolygon, Triangle, rad, deg
  16. from sympy.geometry.util import are_similar, centroid, convex_hull, idiff, \
  17. intersection, closest_points, farthest_points
  18. from sympy.geometry.exceptions import GeometryError
  19. from sympy.geometry.curve import Curve
  20. from sympy.geometry.parabola import Parabola
  21. __all__ = [
  22. 'Point', 'Point2D', 'Point3D',
  23. 'Line', 'Ray', 'Segment', 'Line2D', 'Segment2D', 'Ray2D', 'Line3D',
  24. 'Segment3D', 'Ray3D',
  25. 'Plane',
  26. 'Ellipse', 'Circle',
  27. 'Polygon', 'RegularPolygon', 'Triangle', 'rad', 'deg',
  28. 'are_similar', 'centroid', 'convex_hull', 'idiff', 'intersection',
  29. 'closest_points', 'farthest_points',
  30. 'GeometryError',
  31. 'Curve',
  32. 'Parabola',
  33. ]