Python | Método Sympy Line.intersection()
from
sympy
import
Point, Line
p1, p2, p3
=
Point(
0
,
0
), Point(
1
,
1
), Point(
7
,
7
)
l1
=
Line(p1, p2)
showIntersection
=
l1.intersection(p3)
(showIntersection)
As postagens do blog Acervo Lima te ajudaram? Nos ajude a manter o blog no ar!
Faça uma doação para manter o blog funcionando.
70% das doações são no valor de R$ 5,00...
Diógenes Lima da Silva