![]() |
UnionPURPOSE
Union of two PoseData objects.
SYNOPSIS
function PD=Union(PD1,PD2)
DESCRIPTION
Union of two PoseData objects. Produces a PoseData, PD, that summarizes the information stored in the two input PoseDatas, PD1 and PD2. The composition of information is achieved by defining intervals that fully include the values in the PoseDatas to merge. The resulting PoseData includes the indentifiers in the two composed PoseDatas. CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
SOURCE CODE
0001 function PD=Union(PD1,PD2) 0002 % Union of two PoseData objects. 0003 % 0004 % Produces a PoseData, PD, that summarizes the information stored in the 0005 % two input PoseDatas, PD1 and PD2. 0006 % 0007 % The composition of information is achieved by defining intervals that 0008 % fully include the values in the PoseDatas to merge. 0009 % 0010 % The resulting PoseData includes the indentifiers in the two composed 0011 % PoseDatas. 0012 0013 PD.m=Union(PD1.m,PD2.m); 0014 PD.S=Union(PD1.S,PD2.S); 0015 PD.CS=Union(PD1.CS,PD2.CS); 0016 PD.id=[PD1.id(1:end) PD2.id(1:end)]; 0017 PD.isInterval=true; 0018 PD=class(PD,'PoseData'); |