Coverage for /usr/lib/python3/dist-packages/sympy/geometry/__init__.py: 100%
10 statements
« prev ^ index » next coverage.py v7.9.1, created at 2025-06-14 15:55 +0200
« prev ^ index » next coverage.py v7.9.1, created at 2025-06-14 15:55 +0200
1"""
2A geometry module for the SymPy library. This module contains all of the
3entities and functions needed to construct basic geometrical data and to
4perform simple informational queries.
6Usage:
7======
9Examples
10========
12"""
13from sympy.geometry.point import Point, Point2D, Point3D
14from sympy.geometry.line import Line, Ray, Segment, Line2D, Segment2D, Ray2D, \
15 Line3D, Segment3D, Ray3D
16from sympy.geometry.plane import Plane
17from sympy.geometry.ellipse import Ellipse, Circle
18from sympy.geometry.polygon import Polygon, RegularPolygon, Triangle, rad, deg
19from sympy.geometry.util import are_similar, centroid, convex_hull, idiff, \
20 intersection, closest_points, farthest_points
21from sympy.geometry.exceptions import GeometryError
22from sympy.geometry.curve import Curve
23from sympy.geometry.parabola import Parabola
25__all__ = [
26 'Point', 'Point2D', 'Point3D',
28 'Line', 'Ray', 'Segment', 'Line2D', 'Segment2D', 'Ray2D', 'Line3D',
29 'Segment3D', 'Ray3D',
31 'Plane',
33 'Ellipse', 'Circle',
35 'Polygon', 'RegularPolygon', 'Triangle', 'rad', 'deg',
37 'are_similar', 'centroid', 'convex_hull', 'idiff', 'intersection',
38 'closest_points', 'farthest_points',
40 'GeometryError',
42 'Curve',
44 'Parabola',
45]