# Editing User:Gaganjyotsingh/Proposal/LibreCADkickoff

From BRL-CAD

**Warning:** You are not logged in. Your IP address will be publicly visible if you make any edits. If you **log in** or **create an account**, your edits will be attributed to your username, along with other benefits.

The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision | Your text | ||

Line 147: | Line 147: | ||

quad1 = line.get_quadratic() | quad1 = line.get_quadratic() | ||

− | |||

quad2 = circle.get_quadratic() | quad2 = circle.get_quadratic() | ||

− | |||

quad3 = ellipse.get_quadratic() // ellipse quadratic equation | quad3 = ellipse.get_quadratic() // ellipse quadratic equation | ||

− | |||

get_intersection(quad1,quad2) // will give intersection points of line and circle | get_intersection(quad1,quad2) // will give intersection points of line and circle | ||

− | |||

get_intersection(quad1,quad3)// will give intersection points of line and ellipse | get_intersection(quad1,quad3)// will give intersection points of line and ellipse | ||

Line 197: | Line 193: | ||

References : | References : | ||

http://en.wikipedia.org/wiki/Quadratic_form | http://en.wikipedia.org/wiki/Quadratic_form | ||

− | |||

Maths will be taken from LibreCAD2 : | Maths will be taken from LibreCAD2 : | ||

− | |||

https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/lib/math/lc_quadratic.h | https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/lib/math/lc_quadratic.h | ||

− | |||

https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/lib/math/rs_math.h | https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/lib/math/rs_math.h | ||