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 |
Struct used instead of a sole TopTools_DataMapOfShapeShape to avoid problems with bidirectional bindings.
StdMeshers_ShapeShapeBiDirectionMap::StdMeshers_ShapeShapeBiDirectionMap | ( | ) |
bool StdMeshers_ShapeShapeBiDirectionMap::Bind | ( | const TopoDS_Shape & | s1, |
const TopoDS_Shape & | s2 | ||
) |
References _map1to2, and _map2to1.
Referenced by StdMeshers_Projection_3D::Compute(), StdMeshers_ProjectionUtils::FindSubShapeAssociation(), and StdMeshers_ProjectionUtils::InsertAssociation().
void StdMeshers_ShapeShapeBiDirectionMap::Clear | ( | ) |
References _map1to2, and _map2to1.
Referenced by StdMeshers_Projection_3D::Compute().
int StdMeshers_ShapeShapeBiDirectionMap::Extent | ( | ) | const |
References _map1to2.
Referenced by StdMeshers_RadialPrism_3D::Compute(), and StdMeshers_ProjectionUtils::FindSubShapeAssociation().
bool StdMeshers_ShapeShapeBiDirectionMap::IsBound | ( | const TopoDS_Shape & | s, |
const bool | isShape2 = false |
||
) | const |
References _map1to2, and _map2to1.
Referenced by StdMeshers_Projection_3D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_RadialPrism_3D::Compute(), StdMeshers_Projection_2D::Evaluate(), StdMeshers_Projection_1D::Evaluate(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), and StdMeshers_ProjectionUtils::FindSubShapeAssociation().
bool StdMeshers_ShapeShapeBiDirectionMap::IsEmpty | ( | ) | const |
References _map1to2.
Referenced by StdMeshers_Projection_2D::Compute(), and StdMeshers_ProjectionUtils::FindSubShapeAssociation().
const TopoDS_Shape& StdMeshers_ShapeShapeBiDirectionMap::operator() | ( | const TopoDS_Shape & | s, |
const bool | isShape2 = false |
||
) | const |
void StdMeshers_ShapeShapeBiDirectionMap::SetAssocType | ( | EAssocType | type | ) |
References _assocType, and UNDEF.
Referenced by StdMeshers_ProjectionUtils::FindSubShapeAssociation().
EAssocType StdMeshers_ShapeShapeBiDirectionMap::_assocType |
Referenced by StdMeshers_ProjectionUtils::FindSubShapeAssociation(), and SetAssocType().
TopTools_DataMapOfShapeShape StdMeshers_ShapeShapeBiDirectionMap::_map1to2 |
Referenced by Bind(), Clear(), Extent(), StdMeshers_ProjectionUtils::FindSubShapeAssociation(), IsBound(), IsEmpty(), and operator()().
TopTools_DataMapOfShapeShape StdMeshers_ShapeShapeBiDirectionMap::_map2to1 |
Referenced by Bind(), Clear(), StdMeshers_Projection_2D::Compute(), IsBound(), and operator()().