mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
typo
This commit is contained in:
parent
64a8aee9ab
commit
00ac0dfc36
@ -53,13 +53,13 @@ struct StdMeshers_ShapeShapeBiDirectionMap
|
|||||||
{
|
{
|
||||||
TopTools_DataMapOfShapeShape _map1to2, _map2to1;
|
TopTools_DataMapOfShapeShape _map1to2, _map2to1;
|
||||||
|
|
||||||
// convension: s1 - target, s2 - source
|
// convention: s1 - target, s2 - source
|
||||||
bool Bind( const TopoDS_Shape& s1, const TopoDS_Shape& s2 )
|
bool Bind( const TopoDS_Shape& s1, const TopoDS_Shape& s2 )
|
||||||
{ _map1to2.Bind( s1, s2 ); return _map2to1.Bind( s2, s1 ); }
|
{ _map1to2.Bind( s1, s2 ); return _map2to1.Bind( s2, s1 ); }
|
||||||
bool IsBound( const TopoDS_Shape& s, const bool isShape2=false ) const
|
bool IsBound( const TopoDS_Shape& s, const bool isShape2=false ) const
|
||||||
{ return (isShape2 ? _map2to1 : _map1to2).IsBound( s ); }
|
{ return (isShape2 ? _map2to1 : _map1to2).IsBound( s ); }
|
||||||
bool IsEmpty() const { return _map1to2.IsEmpty(); }
|
bool IsEmpty() const { return _map1to2.IsEmpty(); }
|
||||||
int Extent() const { return _map1to2.Extent(); }
|
int Extent() const { return _map1to2.Extent(); }
|
||||||
void Clear() { _map1to2.Clear(); _map2to1.Clear(); }
|
void Clear() { _map1to2.Clear(); _map2to1.Clear(); }
|
||||||
const TopoDS_Shape& operator()( const TopoDS_Shape& s, const bool isShape2=false ) const
|
const TopoDS_Shape& operator()( const TopoDS_Shape& s, const bool isShape2=false ) const
|
||||||
{ // if we get a Standard_NoSuchObject here, it means that the calling code
|
{ // if we get a Standard_NoSuchObject here, it means that the calling code
|
||||||
|
Loading…
Reference in New Issue
Block a user