geometry.braik_mac_construction

braikenridge_maclaurin_construction https://mathworld.wolfram.com/ConicSection.html 5 Points define a conic section on a 2D normal orthogonal plane using this technique.

Classes

BraikMac

Given a list of 5 points, determine the corresponding

Point

A point defined by 2 floats representing a length on a normalized

Module Contents

class geometry.braik_mac_construction.BraikMac

Given a list of 5 points, determine the corresponding conic section equation and provide it to the user

x**2 xy y**2 x y 1 |
x1**2 x1y1 y1**2 x1 y1 1 |
x2**2 x2y2 y2**2 x2 y2 1 | = 0
x3**2 x3y3 y3**2 x3 y3 1 |
x4**2 x4y4 y4**2 x4 y4 1 |
x5**2 x5y5 y5**2 x5 y5 1 |
>>> p1 = Point(0.0,0.0)
>>> p2 = Point(5.0,0.0)
>>> p3 = Point(2.0,3.0)
>>> p4 = Point(1.0,10.0)
>>> p5 = Point(6.0,7.0)
>>> BraikMac([p1,p2,p3,p4,p5])
BraikMac(p_list=[Point(x=0.0, y=0.0), Point(x=5.0, y=0.0),
Point(x=2.0, y=3.0), Point(x=1.0, y=10.0), Point(x=6.0, y=7.0)])
__post_init__() None
property generate: str
p_list: list[Point] = []
class geometry.braik_mac_construction.Point

A point defined by 2 floats representing a length on a normalized orthogonal coordinate system default coordinate is the origin

>>> Point(-1.0, 0.0)
Point(x=-1.0, y=0.0)
__post_init__() None
x: float = 0.0
y: float = 0.0