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: if planes are coplanar, else False
Example #1:
# import sympy, Point3D and Plane from sympy import Point3D, Plane o = (0, 0, 0) # using Plane() p1 = Plane(o, (1, 1, 1)) p2 = Plane(o, (2, 2, 2)) # using is_coplanar() isCoplanar = p1.is_coplanar(p2) print(isCoplanar) |
chevron_right
filter_none
Output:
True
Example #2:
# import sympy, Point3D and Plane from sympy import Point3D, Plane o = (0, 0, 0) # using Plane() p3 = Plane(o, (1, 1, 1)) p4 = Plane(o, (3, 2, 1)) # using is_coplanar() isCoplanar = p3.is_coplanar(p4) print(isCoplanar) |
chevron_right
filter_none
Output:
False
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.
Recommended Posts:
- Python | Sympy Line.is_parallel() method
- Python | sympy.GreaterThan() method
- Python | sympy.StrictLessThan() method
- Python | sympy.LessThan() method
- Python | sympy.StrictGreaterThan() method
- Python | sympy.ones() method
- Python | sympy.zeros() method
- Python | sympy.eye() method
- Python | Sympy Ellipse.equation() method
- Python | Sympy Ellipse() method
- Python | sympy.combinatoric.Polyhedron() method
- Python | sympy.trailing() method
- Python | sympy.multiplicity() method
- Python | sympy.perfect_power() method
- Python | sympy.factorint() method
- Python | sympy.smoothness() method
- Python | sympy.sec() method
- Python | sympy.igcd() method
- Python | sympy.gcd() method
- Python | sympy.Rational() method
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

