NAME

cxPyrConCompare - compare two set of vertices based on the equivalence type

C SPECIFICATION

#include <cx/Pyramid.h>

long cxPyrConCompare( long n0, long *x0, long n1, long *x1, cxPyrEquivType type )

FORTRAN SPECIFICATION

integer function cxPyrConCompare( n0, x0, n1, x1, type )
integer n0, x0(n0), n1, x1(n1), type

PARAMETERS

n0
The number of vertices in x0.
x0
First vertex list.
n1
The number of vertices in x1.
x1
Second vertex list.
type
Equivalence type to govern comparison of vertex lists.

FUNCTION RETURN VALUE

Returns 1 if the two vertex lists are equivalent, or 0 otherwise.

DESCRIPTION

cxPyrConCompare compares the two vertex lists x0 and x1 governed by the equivalence type type. The equivalence types and their ordering restrictions are:

CX_PYRAMID_EQUIV_IDENTICAL sequences must be exactly identical.

CX_PYRAMID_EQUIV_IDENTICALR sequences must be exactly identical or be identical when one is reversed (same as CX_PYRAMID_EQUIV_IDENTICAL with reversal allowed).

CX_PYRAMID_EQUIV_CYCLIC sequences must be identical under some cyclical shift (or rotation) of one sequence.

CX_PYRAMID_EQUIV_CYCLICR sequences must be identical under a cyclical shift of one sequence or of its reversal (same as CX_PYRAMID_EQUIV_CYCLIC with reversal allowed).

CX_PYRAMID_SET sequences must contain the same indices in any order.

SEE ALSO

cxPyrMerge(3E)
Last modified: Mon Nov 18 13:52:33 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996