get_aligner
Functionget_aligner(
closed1: bool,
closed2: bool,
norm: str = None
) -> VertexAligner
Factory function to select appropriate aligner based on shape closure
Parameters
-
closed1 - Whether first shape is closed
-
closed2 - Whether second shape is closed
-
norm - Optional norm to use (overrides config defaults) - "l1", "l2", "linf" for built-in norms - If None, reads from config
Returns
Appropriate VertexAligner instance: - SequentialAligner for open ↔ open - AngularAligner for closed ↔ closed (with norm from config or parameter) - EuclideanAligner for open ↔ closed or closed ↔ open (with norm from config or parameter)