Back to index

salome-gui  6.5.0
Classes | Functions
vtkEDFCutter.cxx File Reference
#include "vtkEDFCutter.h"
#include "vtkInformationVector.h"
#include "vtkInformation.h"
#include "vtkSmartPointer.h"
#include "vtkGenericCell.h"
#include "vtkPolyData.h"
#include "vtkObjectFactory.h"
#include "vtkIdTypeArray.h"
#include "vtkCellData.h"
#include "vtkCellArray.h"
#include "vtkIdList.h"
#include <list>
#include <set>
#include <map>
#include <deque>

Go to the source code of this file.

Classes

class  vtkEDFEdge

Functions

bool operator== (const vtkEDFEdge &e0, const vtkEDFEdge &e1)
bool operator!= (const vtkEDFEdge &e0, const vtkEDFEdge &e1)
bool operator< (const vtkEDFEdge &e0, const vtkEDFEdge &e1)
 vtkStandardNewMacro (vtkEDFCutter)
 vtkCxxRevisionMacro (vtkEDFCutter,"0.0")

Function Documentation

bool operator!= ( const vtkEDFEdge e0,
const vtkEDFEdge e1 
)

Definition at line 54 of file vtkEDFCutter.cxx.

{
  return !(e0==e1);
}
bool operator< ( const vtkEDFEdge e0,
const vtkEDFEdge e1 
)

Definition at line 59 of file vtkEDFCutter.cxx.

{
  vtkEDFEdge the_e0;
  vtkEDFEdge the_e1;
  if(e0.v0 < e0.v1)
    {
    the_e0.v0 = e0.v0;
    the_e0.v1 = e0.v1;
    }
  else
    {
    the_e0.v0 = e0.v1;
    the_e0.v1 = e0.v0;
    }
  if(e1.v0 < e1.v1)
    {
    the_e1.v0 = e1.v0;
    the_e1.v1 = e1.v1;
    }
  else
    {
    the_e1.v0 = e1.v1;
    the_e1.v1 = e1.v0;
    }

  if(the_e0.v0 == the_e1.v0)
    return (the_e0.v1 < the_e1.v1);

  return the_e0.v0 < the_e1.v0;
}
bool operator== ( const vtkEDFEdge e0,
const vtkEDFEdge e1 
)

Definition at line 48 of file vtkEDFCutter.cxx.

{
  return (e0.v0 == e1.v0 && e0.v1 == e1.v1) ||
      (e0.v1 == e1.v0 && e0.v0 == e1.v1);
}
vtkCxxRevisionMacro ( vtkEDFCutter  ,
"0.0"   
)
vtkStandardNewMacro ( vtkEDFCutter  )