<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>There is no filter to my knowledge that does what you ask. &nbsp;However, assuming that your two curves have the same number of points in the same order, I think you achieve what you want by passing both to the Python Calculator and using the following expression:</div>
</div>
</div>
<div><br>
</div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px;">
<div><span style="font-family: Consolas; ">mag(inputs[0].Points - inputs[1].Points)</span></div>
</blockquote>
<div><br>
</div>
<div>I hope that's clear.</div>
<div><br>
</div>
<div>-Ken</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Abdullahi Sanusi &lt;<a href="mailto:scontact101@gmail.com">scontact101@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Thu, 22 Mar 2012 11:24:24 &#43;0000<br>
<span style="font-weight:bold">To: </span>&lt;<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[EXTERNAL] [Paraview] Comparing two curves<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
Hi All,<br>
Given two curves A and B with point set A={p1,q1,r1} and B={p2,q2,r2}. I want to determine if the two curves are the same (similar) and compute the similarity score. Your kind advice will be well appreciated.<br>
Cheer,<br>
Abdul.<br>
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a> Please keep messages on-topic and check the ParaView Wiki at:
<a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a> Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</blockquote>
</span>
</body>
</html>