PathEditDistance
Computes the edit distance between the input paths.
Syntax
C++
C#
Python
def PathEditDistance( inOldPath: Path, inNewPath: Path, /, *, outAlignment: CoordinateSystem2D | None = None ) -> ( outAdditions: int, outRemovals: int, outEditions: int, outOldCommonPoints: list[Point2D], outNewCommonPoints: list[Point2D], outAddedPoints: list[Point2D], outRemovedPoints: list[Point2D], outOldEditedPoints: list[Point2D], outNewEditedPoints: list[Point2D] )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inOldPath | Path | ||
![]() |
inNewPath | Path | ||
![]() |
outAdditions | int | ||
![]() |
outRemovals | int | ||
![]() |
outEditions | int | ||
![]() |
outAlignment | CoordinateSystem2D | None | None | |
![]() |
outOldCommonPoints | list[Point2D] | ||
![]() |
outNewCommonPoints | list[Point2D] | ||
![]() |
outAddedPoints | list[Point2D] | ||
![]() |
outRemovedPoints | list[Point2D] | ||
![]() |
outOldEditedPoints | list[Point2D] | ||
![]() |
outNewEditedPoints | list[Point2D] |


