Back to index

salome-smesh  6.5.0
Public Member Functions
SMESH::BelongToGenSurface_i Class Reference

#include <SMESH_Filter_i.hxx>

List of all members.

Public Member Functions

 BelongToGenSurface_i ()
void SetSurface (GEOM::GEOM_Object_ptr theGeom, ElementType theType)
FunctorType GetFunctorType ()

Detailed Description

Definition at line 535 of file SMESH_Filter_i.hxx.


Constructor & Destructor Documentation

Definition at line 1220 of file SMESH_Filter_i.cxx.

: BelongToSurface_i( STANDARD_TYPE( Geom_CylindricalSurface ) )
{
}

Member Function Documentation

Definition at line 1237 of file SMESH_Filter_i.cxx.

void BelongToGenSurface_i::SetSurface ( GEOM::GEOM_Object_ptr  theGeom,
ElementType  theType 
)

Definition at line 1225 of file SMESH_Filter_i.cxx.

{
  if ( theGeom->_is_nil() )
    return;
  TopoDS_Shape aLocShape = SMESH_Gen_i::GetSMESHGen()->GeomObjectToShape( theGeom );
  if ( !aLocShape.IsNull() && aLocShape.ShapeType() != TopAbs_FACE )
    aLocShape.Nullify();
  
  BelongToSurface_i::myElementsOnSurfacePtr->SetSurface( aLocShape, (SMDSAbs_ElementType)theType );
  TPythonDump()<<this<<".SetGenSurface("<<theGeom<<","<<theType<<")";
}

The documentation for this class was generated from the following files: