cgma
FacetProjectTool.cpp File Reference
#include "FacetProjectTool.hpp"
#include "PST_Data.hpp"
#include "GeometryDefines.h"
#include "CubitMessage.hpp"
#include "CubitPlane.hpp"
#include "GfxDebug.hpp"

Go to the source code of this file.

Defines

#define VG_FACET_PRINT   PRINT_DEBUG(VG_FACET_DEBUG)

Functions

static int parent_compare_facets (PST_Face *&f1, PST_Face *&f2)
static int sequence_compare_pts (PST_Point *&p1, PST_Point *&p2)

Variables

const int VG_FACET_DEBUG = 145
const int VG_FACET_BOUNDARY_COLOR = CUBIT_RED_INDEX
const int VG_FACET_FACET_COLOR = CUBIT_GREEN_INDEX
const int VG_FACET_IMPRINT_COLOR = CUBIT_WHITE_INDEX
const int VG_FACET_SEGMENT_COLOR = CUBIT_CYAN_INDEX

Define Documentation

Definition at line 14 of file FacetProjectTool.cpp.


Function Documentation

static int parent_compare_facets ( PST_Face *&  f1,
PST_Face *&  f2 
) [static]

Definition at line 30 of file FacetProjectTool.cpp.

{
  return (f1->parent < f2->parent) ? -1 :
         (f1->parent > f2->parent) ?  1 : 0;
}
static int sequence_compare_pts ( PST_Point *&  p1,
PST_Point *&  p2 
) [static]

Definition at line 35 of file FacetProjectTool.cpp.

{
  return (p1->sequence < p2->sequence) ? -1 :
         (p1->sequence > p2->sequence) ?  1 : 0;
}

Variable Documentation

Definition at line 10 of file FacetProjectTool.cpp.

const int VG_FACET_DEBUG = 145

Definition at line 9 of file FacetProjectTool.cpp.

Definition at line 11 of file FacetProjectTool.cpp.

Definition at line 12 of file FacetProjectTool.cpp.

Definition at line 13 of file FacetProjectTool.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines