Tag Archives: Python SymPy-Geometry

In Sympy, the function Plane.projection() is used project the given point onto the given plane along the plane normal which means, the projection is along… Read More
In Sympy, the function Plane.projection_line() is used to project the given line onto the given plane through the normal plane containing the line. Syntax: Plane.projection_line(line)… Read More
In Simpy, the function Plane.are_concurrent() is used to check whether the given sequence of planes are concurrent or not. Two or more Planes are concurrent… Read More
In Simpy, the function Plane.is_coplanar() is used to check whether the given planes are coplanar or not. Syntax: Plane.is_coplanar(p) Parameter: p: a Plane Returns: True:… Read More
In Sympy, the function perpendicular_segment() is used to create a perpendicular line segment from a given point to the given line.The endpoints of the segment… Read More
In Sympy, the function director_circle() returns a Circle consisting of all points where two perpendicular tangent lines to the ellipse cross each other. Syntax: Ellipse.director_circle()… Read More
In Sympy, the function perpendicular_bisector() is used to find the perpendicular bisector of the given segment. If no point is specified or the point specified… Read More
In Sympy, the function intersection() is used to find the intersection with another geometrical entity. Syntax: Line.intersection(o) Parameters: o: Point or LinearEntity Returns: intersection: list… Read More
In Sympy, the function is_parallel() is used to check whether the two linear entities are parallel or not. Syntax: Line.is_parallel(l2) Parameters: l1: LinearEntity l2: LinearEntity… Read More
In Sympy, the function distance() is used to find the shortest distance between a given line and a given point. Syntax: Line.distance(other) Parameter: other: a… Read More
In Sympy, the function angle_between() is used to return the non-reflex angle formed by rays emanating from the origin with directions the same as the… Read More
In Sympy, the function tangent_lines() returns Tangent lines between p(point) and the ellipse. If p is on the ellipse, returns the tangent line through point… Read More
In Sympy, the function are_concurrent() is used to check whether the given linear entities(lines) are concurrent or not. Two or more linear entities are concurrent… Read More
In Sympy, the function is_perpendicular() is used to check whether the two linear entities are perpendicular or not. Syntax: Line.is_perpendicular(l2) Parameters: l1: LinearEntity l2: LinearEntity… Read More
In Sympy, the function smallest_angle_between() is used to return the non-obtuse angle at the intersection of lines. Syntax: smallest_angle_between(l2) Parameters: l1: LinearEntity l2: LinearEntity Returns:… Read More