graphinglib.FitFromFOTF.create_intersection_points#

FitFromFOTF.create_intersection_points(other: Self, labels: list[str] | str | None = None, colors: list[str] | str = 'default', edge_colors: list[str] | str = 'default', marker_sizes: list[float] | float | Literal['default'] = 'default', marker_styles: list[str] | str = 'default', edge_widths: list[float] | float | Literal['default'] = 'default') list[Point]#

Creates the intersection Points between two curves.

Parameters:
otherCurve

The other curve to calculate the intersections with.

as_point_objectsbool

Whether to return a list of Point objects (True) or a list of tuples of coordinates (False). Defaults to False.

labelslist[str] or str, optional

Labels of the intersection points to be displayed in the legend. If a single string is passed, all intersection points will have the same label.

colorslist[str] or str

Face colors of the intersection points. If a single string is passed, all intersection points will have the same color. Default depends on the figure_style configuration.

edge_colorslist[str] or str

Edge colors of the intersection points. If a single string is passed, all intersection points will have the same color. Default depends on the figure_style configuration.

marker_sizeslist[float] or float

Sizes of the intersection points. If a single float is passed, all intersection points will have the same size. Default depends on the figure_style configuration.

marker_styleslist[str] or str

Styles of the intersection points. If a single string is passed, all intersection points will have the same style. Default depends on the figure_style configuration.

edge_widthslist[float] or float

Widths of the intersection points. If a single float is passed, all intersection points will have the same width. Default depends on the figure_style configuration.

Returns:
list[Point] or list[tuple[float, float]]

A list of Point objects which are the intersection points between the two curves.