You are here: Start » AVL.NET » Function Reference » Path » Path Metrics » AVL.PathEditDistance

AVL.PathEditDistance

Computes the edit distance between the input paths.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathEditDistance
(
	AvlNet.Path inOldPath,
	AvlNet.Path inNewPath,
	out int outAdditions,
	out int outRemovals,
	out int outEditions,
	NullableValue<AvlNet.CoordinateSystem2D> outAlignment,
	NullableRef<List<AvlNet.Point2D>> outOldCommonPoints,
	NullableRef<List<AvlNet.Point2D>> outNewCommonPoints,
	NullableRef<List<AvlNet.Point2D>> outAddedPoints,
	NullableRef<List<AvlNet.Point2D>> outRemovedPoints,
	NullableRef<List<AvlNet.Point2D>> outOldEditedPoints,
	NullableRef<List<AvlNet.Point2D>> outNewEditedPoints
)

Parameters

Name Type Range Default Description
inOldPathAvlNet.Path
inNewPathAvlNet.Path
outAdditionsint
outRemovalsint
outEditionsint
outAlignmentAvlNet.NullableValue<AvlNet.CoordinateSystem2D> Can be null to skip this parameter calculation.
outOldCommonPointsAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point2D>> Can be null to skip this parameter calculation.
outNewCommonPointsAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point2D>> Can be null to skip this parameter calculation.
outAddedPointsAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point2D>> Can be null to skip this parameter calculation.
outRemovedPointsAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point2D>> Can be null to skip this parameter calculation.
outOldEditedPointsAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point2D>> Can be null to skip this parameter calculation.
outNewEditedPointsAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point2D>> Can be null to skip this parameter calculation.

Function Overrides

See also