m2m模型翻译
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

6 months ago
  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. ]