HDK
|
Go to the source code of this file.
Functions | |
PCP_API int | PcpCompareSiblingNodeStrength (const PcpNodeRef &a, const PcpNodeRef &b) |
PCP_API int | PcpCompareNodeStrength (const PcpNodeRef &a, const PcpNodeRef &b) |
PCP_API int PcpCompareNodeStrength | ( | const PcpNodeRef & | a, |
const PcpNodeRef & | b | ||
) |
Compares the strength of nodes a
and b
. These nodes must be part of the same graph; it is a coding error if a
and b
do not have the same root node.
Returns -1 if a is stronger than b, 0 if a is equivalent to b, 1 if a is weaker than b
PCP_API int PcpCompareSiblingNodeStrength | ( | const PcpNodeRef & | a, |
const PcpNodeRef & | b | ||
) |
Compares the strength of nodes a
and b
. These nodes must be siblings; it is a coding error if a
and b
do not have the same parent node.
Returns -1 if a is stronger than b, 0 if a is equivalent to b, 1 if a is weaker than b