Thursday, October 2, 2025
HomeLanguagesPython | Sympy Plane.are_concurrent() method

Python | Sympy Plane.are_concurrent() method

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 if their intersections are a common line.

Syntax: Plane.are_concurrent()

Parameters:
 planes: sequence of planes

Returns:
 True: if they are concurrent, else False

Example #1:




# import sympy, Point3D and Plane
from sympy import Point3D, Plane
  
# using Plane() 
p1 = Plane(Point3D(5, 0, 0), normal_vector =(1, -1, 1))
p2 = Plane(Point3D(0, -2, 0), normal_vector =(3, 1, 1))
  
# using are_concurrent()
areConcurrent = Plane.are_concurrent(p1, p2)
  
print(areConcurrent)


Output:

True

Example #2:




# import sympy, Point3D and Plane
from sympy import Point3D, Plane
  
# using Plane() 
p1 = Plane(Point3D(5, 0, 0), normal_vector =(1, -1, 1))
p2 = Plane(Point3D(0, -2, 0), normal_vector =(3, 1, 1))
p3 = Plane(Point3D(0, -1, 0), normal_vector =(5, -1, 9))
  
# using are_concurrent()
areConcurrent = Plane.are_concurrent(p1, p2, p3)
  
print(areConcurrent)


Output:

False
Dominic
Dominichttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Dominic
32330 POSTS0 COMMENTS
Milvus
85 POSTS0 COMMENTS
Nango Kala
6703 POSTS0 COMMENTS
Nicole Veronica
11867 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11926 POSTS0 COMMENTS
Shaida Kate Naidoo
6817 POSTS0 COMMENTS
Ted Musemwa
7078 POSTS0 COMMENTS
Thapelo Manthata
6775 POSTS0 COMMENTS
Umr Jansen
6774 POSTS0 COMMENTS