Back to Aurora Vision Library website
You are here: Start » Function Reference » Path » Path Metrics » PathEditDistance
![](../../img/icon/Path.png)
PathEditDistance
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
Computes the edit distance between the input paths.
Syntax
C++
C#
void avl::PathEditDistance ( const avl::Path& inOldPath, const avl::Path& inNewPath, int& outAdditions, int& outRemovals, int& outEditions, atl::Optional<avl::CoordinateSystem2D&> outAlignment = atl::NIL, atl::Optional<atl::Array<avl::Point2D>&> outOldCommonPoints = atl::NIL, atl::Optional<atl::Array<avl::Point2D>&> outNewCommonPoints = atl::NIL, atl::Optional<atl::Array<avl::Point2D>&> outAddedPoints = atl::NIL, atl::Optional<atl::Array<avl::Point2D>&> outRemovedPoints = atl::NIL, atl::Optional<atl::Array<avl::Point2D>&> outOldEditedPoints = atl::NIL, atl::Optional<atl::Array<avl::Point2D>&> outNewEditedPoints = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inOldPath | const Path& | ||
![]() |
inNewPath | const Path& | ||
![]() |
outAdditions | int& | ||
![]() |
outRemovals | int& | ||
![]() |
outEditions | int& | ||
![]() |
outAlignment | Optional<CoordinateSystem2D&> | NIL | |
![]() |
outOldCommonPoints | Optional<Array<Point2D>&> | NIL | |
![]() |
outNewCommonPoints | Optional<Array<Point2D>&> | NIL | |
![]() |
outAddedPoints | Optional<Array<Point2D>&> | NIL | |
![]() |
outRemovedPoints | Optional<Array<Point2D>&> | NIL | |
![]() |
outOldEditedPoints | Optional<Array<Point2D>&> | NIL | |
![]() |
outNewEditedPoints | Optional<Array<Point2D>&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outAlignment, outOldCommonPoints, outNewCommonPoints, outAddedPoints, outRemovedPoints, outOldEditedPoints, outNewEditedPoints.
Read more about Optional Outputs.