Back to index

salome-geom  6.5.0
Functions
GEOM_IShapesOperations_i.cc File Reference
#include <Standard_Stream.hxx>
#include "GEOM_IShapesOperations_i.hh"
#include "utilities.h"
#include "OpUtil.hxx"
#include "Utils_ExceptHandlers.hxx"
#include "GEOM_Engine.hxx"
#include "GEOM_Object.hxx"
#include <TopAbs.hxx>
#include <TColStd_HSequenceOfTransient.hxx>
#include <TColStd_HArray1OfInteger.hxx>

Go to the source code of this file.

Functions

static GEOMAlgo_State ShapeState (const GEOM::shape_state theState)

Function Documentation

static GEOMAlgo_State ShapeState ( const GEOM::shape_state  theState) [static]

Definition at line 1030 of file GEOM_IShapesOperations_i.cc.

{
  GEOMAlgo_State aState = GEOMAlgo_ST_UNKNOWN;

  switch (theState) {
  case GEOM::ST_ON:
    aState = GEOMAlgo_ST_ON;
    break;
  case GEOM::ST_OUT:
    aState = GEOMAlgo_ST_OUT;
    break;
  case GEOM::ST_ONOUT:
    aState = GEOMAlgo_ST_ONOUT;
    break;
  case GEOM::ST_IN:
    aState = GEOMAlgo_ST_IN;
    break;
  case GEOM::ST_ONIN:
    aState = GEOMAlgo_ST_ONIN;
    break;
  default:
    break;
  }

  return aState;
}