BRL-CAD
test_nmg_copy.c File Reference
#include "common.h"
#include <string.h>
#include "raytrace.h"
Include dependency graph for test_nmg_copy.c:

Go to the source code of this file.

Functions

int nmg_compare_vertexuse (struct vertexuse *vu1, struct vertexuse *vu2)
 
int nmg_compare_edgeuse (struct edgeuse *eu1, struct edgeuse *eu2)
 
int nmg_compare_loopuse (struct loopuse *lu1, struct loopuse *lu2)
 
int nmg_compare_faceuse (struct faceuse *fu1, struct faceuse *fu2)
 
int nmg_compare_shell_a (struct shell_a *sa1, struct shell_a *sa2)
 
int nmg_compare_shell (struct shell *s1, struct shell *s2)
 
int nmg_compare_region_a (struct nmgregion_a *ra1, struct nmgregion_a *ra2)
 
int nmg_compare_region (struct nmgregion *r1, struct nmgregion *r2)
 
int test_nmg_clone_model (struct model *m1, struct model *m2)
 
int testcase_nmg_mm ()
 
int testcase_nmg_mmr ()
 
int testcase_nmg_mrsv ()
 
int main (int argc, char **argv)
 

Function Documentation

int nmg_compare_vertexuse ( struct vertexuse *  vu1,
struct vertexuse *  vu2 
)

Definition at line 28 of file test_nmg_copy.c.

References bu_log().

Referenced by nmg_compare_shell().

Here is the call graph for this function:

int nmg_compare_edgeuse ( struct edgeuse *  eu1,
struct edgeuse *  eu2 
)

Definition at line 44 of file test_nmg_copy.c.

References bu_log().

Referenced by nmg_compare_shell().

Here is the call graph for this function:

int nmg_compare_loopuse ( struct loopuse *  lu1,
struct loopuse *  lu2 
)

Definition at line 66 of file test_nmg_copy.c.

References bu_log().

Referenced by nmg_compare_faceuse(), and nmg_compare_shell().

Here is the call graph for this function:

int nmg_compare_faceuse ( struct faceuse *  fu1,
struct faceuse *  fu2 
)

Definition at line 88 of file test_nmg_copy.c.

References BU_LIST_FOR2, bu_list_len(), bu_log(), and nmg_compare_loopuse().

Referenced by nmg_compare_shell().

Here is the call graph for this function:

int nmg_compare_shell_a ( struct shell_a *  sa1,
struct shell_a *  sa2 
)

Definition at line 137 of file test_nmg_copy.c.

References bu_log(), and SMALL_FASTF.

Referenced by nmg_compare_shell().

Here is the call graph for this function:

int nmg_compare_shell ( struct shell *  s1,
struct shell *  s2 
)

Definition at line 165 of file test_nmg_copy.c.

References BU_LIST_FOR2, bu_list_len(), bu_log(), eu1, eu2, nmg_compare_edgeuse(), nmg_compare_faceuse(), nmg_compare_loopuse(), nmg_compare_shell_a(), and nmg_compare_vertexuse().

Referenced by nmg_compare_region().

Here is the call graph for this function:

int nmg_compare_region_a ( struct nmgregion_a *  ra1,
struct nmgregion_a *  ra2 
)

Definition at line 268 of file test_nmg_copy.c.

References bu_log(), and SMALL_FASTF.

Referenced by nmg_compare_region().

Here is the call graph for this function:

int nmg_compare_region ( struct nmgregion *  r1,
struct nmgregion *  r2 
)

Definition at line 296 of file test_nmg_copy.c.

References BU_LIST_FOR2, bu_list_len(), bu_log(), nmg_compare_region_a(), and nmg_compare_shell().

Referenced by test_nmg_clone_model().

Here is the call graph for this function:

int test_nmg_clone_model ( struct model *  m1,
struct model *  m2 
)

Definition at line 345 of file test_nmg_copy.c.

References BU_LIST_FOR2, bu_list_len(), bu_log(), and nmg_compare_region().

Referenced by testcase_nmg_mm(), testcase_nmg_mmr(), and testcase_nmg_mrsv().

Here is the call graph for this function:

int testcase_nmg_mm ( )

Definition at line 401 of file test_nmg_copy.c.

References nmg_clone_model(), nmg_km(), nmg_mm(), and test_nmg_clone_model().

Referenced by main().

Here is the call graph for this function:

int testcase_nmg_mmr ( )

Definition at line 419 of file test_nmg_copy.c.

References nmg_clone_model(), nmg_km(), nmg_mmr(), and test_nmg_clone_model().

Referenced by main().

Here is the call graph for this function:

int testcase_nmg_mrsv ( )

Definition at line 437 of file test_nmg_copy.c.

References nmg_clone_model(), nmg_km(), nmg_mmr(), nmg_mrsv(), and test_nmg_clone_model().

Referenced by main().

Here is the call graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 456 of file test_nmg_copy.c.

References bu_exit(), bu_log(), testcase_nmg_mm(), testcase_nmg_mmr(), and testcase_nmg_mrsv().

Here is the call graph for this function: