Line linkers

A line linker decides whether two line segments can be associated, by thresholding a combination of the distances above. LineLinker bundles a 2D and a 3D linker together.

class limap.geometry.LineLinker2dOptions
static build_default_options() limap._limap._geometry.LineLinker2dOptions
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: limap._limap._geometry.LineLinker2dOptions) -> None

  2. __init__(self: limap._limap._geometry.LineLinker2dOptions, kwargs: dict) -> None

  3. __init__(self: limap._limap._geometry.LineLinker2dOptions, **kwargs) -> None

mergedict(self: object, kwargs: dict) None
summary(self: limap._limap._geometry.LineLinker2dOptions, write_type: bool = False) str
todict(self: limap._limap._geometry.LineLinker2dOptions, recursive: bool = True) dict
property score_th

0.5)

Type:

(float, default

property th_angle

5.0)

Type:

(float, default

property th_innerseg

2.0)

Type:

(float, default

property th_overlap

0.05)

Type:

(float, default

property th_perp

2.0)

Type:

(float, default

property th_smartangle

1.0)

Type:

(float, default

property th_smartoverlap

0.2)

Type:

(float, default

property use_angle

True)

Type:

(bool, default

property use_innerseg

False)

Type:

(bool, default

property use_overlap

True)

Type:

(bool, default

property use_perp

True)

Type:

(bool, default

property use_smartangle

True)

Type:

(bool, default

class limap.geometry.LineLinker2d
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: limap._limap._geometry.LineLinker2d) -> None

  2. __init__(self: limap._limap._geometry.LineLinker2d, arg0: limap._limap._geometry.LineLinker2dOptions) -> None

add_check(self: limap._limap._geometry.LineLinker2d, arg0: collections.abc.Callable) None
add_scorer(self: limap._limap._geometry.LineLinker2d, arg0: collections.abc.Callable) None
check_connection(self: limap._limap._geometry.LineLinker2d, arg0: limap._limap._geometry.Line2d, arg1: limap._limap._geometry.Line2d) bool
clear_checks(self: limap._limap._geometry.LineLinker2d) None
clear_scorers(self: limap._limap._geometry.LineLinker2d) None
compute_score(self: limap._limap._geometry.LineLinker2d, arg0: limap._limap._geometry.Line2d, arg1: limap._limap._geometry.Line2d) float
prepend_check(self: limap._limap._geometry.LineLinker2d, arg0: collections.abc.Callable) None
prepend_scorer(self: limap._limap._geometry.LineLinker2d, arg0: collections.abc.Callable) None
class limap.geometry.LineLinker3dOptions
static build_default_options() limap._limap._geometry.LineLinker3dOptions
static build_shared_parent_scoring() limap._limap._geometry.LineLinker3dOptions
static build_spatial_merging() limap._limap._geometry.LineLinker3dOptions
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: limap._limap._geometry.LineLinker3dOptions) -> None

  2. __init__(self: limap._limap._geometry.LineLinker3dOptions, kwargs: dict) -> None

  3. __init__(self: limap._limap._geometry.LineLinker3dOptions, **kwargs) -> None

mergedict(self: object, kwargs: dict) None
summary(self: limap._limap._geometry.LineLinker3dOptions, write_type: bool = False) str
todict(self: limap._limap._geometry.LineLinker3dOptions, recursive: bool = True) dict
property score_th

0.5)

Type:

(float, default

property th_angle

10.0)

Type:

(float, default

property th_innerseg

1.0)

Type:

(float, default

property th_overlap

0.001)

Type:

(float, default

property th_perp

1.0)

Type:

(float, default

property th_smartangle

1.0)

Type:

(float, default

property th_smartoverlap

0.1)

Type:

(float, default

property use_angle

True)

Type:

(bool, default

property use_innerseg

True)

Type:

(bool, default

property use_overlap

True)

Type:

(bool, default

property use_perp

False)

Type:

(bool, default

property use_smartangle

True)

Type:

(bool, default

class limap.geometry.LineLinker3d
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: limap._limap._geometry.LineLinker3d) -> None

  2. __init__(self: limap._limap._geometry.LineLinker3d, arg0: limap._limap._geometry.LineLinker3dOptions) -> None

add_check(self: limap._limap._geometry.LineLinker3d, arg0: collections.abc.Callable) None
add_scorer(self: limap._limap._geometry.LineLinker3d, arg0: collections.abc.Callable) None
check_connection(self: limap._limap._geometry.LineLinker3d, arg0: limap._limap._geometry.Line3d, arg1: limap._limap._geometry.Line3d) bool
clear_checks(self: limap._limap._geometry.LineLinker3d) None
clear_scorers(self: limap._limap._geometry.LineLinker3d) None
compute_score(self: limap._limap._geometry.LineLinker3d, arg0: limap._limap._geometry.Line3d, arg1: limap._limap._geometry.Line3d) float
prepend_check(self: limap._limap._geometry.LineLinker3d, arg0: collections.abc.Callable) None
prepend_scorer(self: limap._limap._geometry.LineLinker3d, arg0: collections.abc.Callable) None
class limap.geometry.LineLinker
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: limap._limap._geometry.LineLinker) -> None

  2. __init__(self: limap._limap._geometry.LineLinker, arg0: limap._limap._geometry.LineLinker2d, arg1: limap._limap._geometry.LineLinker3d) -> None

  3. __init__(self: limap._limap._geometry.LineLinker, arg0: limap._limap._geometry.LineLinker2dOptions, arg1: limap._limap._geometry.LineLinker3dOptions) -> None

add_check_2d(self: limap._limap._geometry.LineLinker, arg0: collections.abc.Callable) None
add_check_3d(self: limap._limap._geometry.LineLinker, arg0: collections.abc.Callable) None
add_scorer_2d(self: limap._limap._geometry.LineLinker, arg0: collections.abc.Callable) None
add_scorer_3d(self: limap._limap._geometry.LineLinker, arg0: collections.abc.Callable) None
check_connection_2d(self: limap._limap._geometry.LineLinker, arg0: limap._limap._geometry.Line2d, arg1: limap._limap._geometry.Line2d) bool
check_connection_3d(self: limap._limap._geometry.LineLinker, arg0: limap._limap._geometry.Line3d, arg1: limap._limap._geometry.Line3d) bool
compute_score_2d(self: limap._limap._geometry.LineLinker, arg0: limap._limap._geometry.Line2d, arg1: limap._limap._geometry.Line2d) float
compute_score_3d(self: limap._limap._geometry.LineLinker, arg0: limap._limap._geometry.Line3d, arg1: limap._limap._geometry.Line3d) float
linker2d(self: limap._limap._geometry.LineLinker) limap._limap._geometry.LineLinker2d
linker3d(self: limap._limap._geometry.LineLinker) limap._limap._geometry.LineLinker3d