Version: 8.3.0
StdMeshers_ShapeShapeBiDirectionMap Struct Reference

Struct used instead of a sole TopTools_DataMapOfShapeShape to avoid problems with bidirectional bindings. More...

#include <StdMeshers_ProjectionUtils.hxx>

Public Types

enum  EAssocType {
  UNDEF, INIT_VERTEX, PROPAGATION, PARTNER,
  CLOSE_VERTEX, COMMON_VERTEX, FEW_EF
}
 

Public Member Functions

bool Bind (const TopoDS_Shape &s1, const TopoDS_Shape &s2)
 
bool IsBound (const TopoDS_Shape &s, const bool isShape2=false) const
 
bool IsEmpty () const
 
int Extent () const
 
void Clear ()
 
const TopoDS_Shape & operator() (const TopoDS_Shape &s, const bool isShape2=false) const
 
 StdMeshers_ShapeShapeBiDirectionMap ()
 
void SetAssocType (EAssocType type)
 

Data Fields

TopTools_DataMapOfShapeShape _map1to2
 
TopTools_DataMapOfShapeShape _map2to1
 
EAssocType _assocType
 

Detailed Description

Struct used instead of a sole TopTools_DataMapOfShapeShape to avoid problems with bidirectional bindings.

Member Enumeration Documentation

Enumerator
UNDEF 
INIT_VERTEX 
PROPAGATION 
PARTNER 
CLOSE_VERTEX 
COMMON_VERTEX 
FEW_EF 

Constructor & Destructor Documentation

StdMeshers_ShapeShapeBiDirectionMap::StdMeshers_ShapeShapeBiDirectionMap ( )

Member Function Documentation

bool StdMeshers_ShapeShapeBiDirectionMap::Bind ( const TopoDS_Shape &  s1,
const TopoDS_Shape &  s2 
)
void StdMeshers_ShapeShapeBiDirectionMap::Clear ( )

References _map1to2, and _map2to1.

Referenced by StdMeshers_Projection_3D::Compute().

int StdMeshers_ShapeShapeBiDirectionMap::Extent ( ) const
bool StdMeshers_ShapeShapeBiDirectionMap::IsEmpty ( ) const
const TopoDS_Shape& StdMeshers_ShapeShapeBiDirectionMap::operator() ( const TopoDS_Shape &  s,
const bool  isShape2 = false 
) const

References _map1to2, and _map2to1.

void StdMeshers_ShapeShapeBiDirectionMap::SetAssocType ( EAssocType  type)

Field Documentation

EAssocType StdMeshers_ShapeShapeBiDirectionMap::_assocType
TopTools_DataMapOfShapeShape StdMeshers_ShapeShapeBiDirectionMap::_map1to2
TopTools_DataMapOfShapeShape StdMeshers_ShapeShapeBiDirectionMap::_map2to1