Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions
TopExp Class Reference

This package provides basic tools to explore the
topological data structures.

More...

#include <TopExp.hxx>

Static Public Member Functions

static void MapShapes (const TopoDS_Shape &S, const TopAbs_ShapeEnum T, TopTools_IndexedMapOfShape &M)
 
 Tool to explore a topological data structure. <br>//! Stores in the map <M> all  the sub-shapes of <S> <br>
     of type <T>. <br>


Warning: The map is not cleared at first.
More...

 
static void MapShapes (const TopoDS_Shape &S, TopTools_IndexedMapOfShape &M)
 Stores in the map <M> all the sub-shapes of <S>.
More...
 
static void MapShapesAndAncestors (const TopoDS_Shape &S, const TopAbs_ShapeEnum TS, const TopAbs_ShapeEnum TA, TopTools_IndexedDataMapOfShapeListOfShape &M)
 
Stores in the map <M> all the subshape of <S> of <br>
    type <TS>  for each one append  to  the list all <br>
    the ancestors of type <TA>.  For example map all <br>
    the edges and bind the list of faces. <br>

Warning: The map is not cleared at first.
More...

 
static TopoDS_Vertex FirstVertex (const TopoDS_Edge &E, const Standard_Boolean CumOri=Standard_False)
 Returns the Vertex of orientation FORWARD in E. If
there is none returns a Null Shape.
CumOri = True : taking account the edge orientation
More...
 
static TopoDS_Vertex LastVertex (const TopoDS_Edge &E, const Standard_Boolean CumOri=Standard_False)
 Returns the Vertex of orientation REVERSED in E. If
there is none returns a Null Shape.
CumOri = True : taking account the edge orientation
More...
 
static void Vertices (const TopoDS_Edge &E, TopoDS_Vertex &Vfirst, TopoDS_Vertex &Vlast, const Standard_Boolean CumOri=Standard_False)
 Returns in Vfirst, Vlast the FORWARD and REVERSED
vertices of the edge <E>. May be null shapes.
CumOri = True : taking account the edge orientation
More...
 
static void Vertices (const TopoDS_Wire &W, TopoDS_Vertex &Vfirst, TopoDS_Vertex &Vlast)
 Returns in Vfirst, Vlast the first and last
vertices of the open wire <W>. May be null shapes.
if <W> is closed Vfirst and Vlast are a same
vertex on <W>.
if <W> is no manifold. VFirst and VLast are null
shapes.
More...
 
static Standard_Boolean CommonVertex (const TopoDS_Edge &E1, const TopoDS_Edge &E2, TopoDS_Vertex &V)
 
 Finds   the  vertex <V> common   to  the two edges <br>
     <E1,E2>, returns True if this vertex exists. <br>


Warning: <V> has sense only if the value <True> is returned
More...

 

Detailed Description

This package provides basic tools to explore the
topological data structures.

     * Explorer : A tool to find all sub-shapes of  a given <br>
     type. e.g. all faces of a solid. <br>


Member Function Documentation

static Standard_Boolean TopExp::CommonVertex ( const TopoDS_Edge E1,
const TopoDS_Edge E2,
TopoDS_Vertex V 
)
static

 Finds   the  vertex <V> common   to  the two edges <br>
     <E1,E2>, returns True if this vertex exists. <br>


Warning: <V> has sense only if the value <True> is returned

static TopoDS_Vertex TopExp::FirstVertex ( const TopoDS_Edge E,
const Standard_Boolean  CumOri = Standard_False 
)
static

Returns the Vertex of orientation FORWARD in E. If
there is none returns a Null Shape.
CumOri = True : taking account the edge orientation

static TopoDS_Vertex TopExp::LastVertex ( const TopoDS_Edge E,
const Standard_Boolean  CumOri = Standard_False 
)
static

Returns the Vertex of orientation REVERSED in E. If
there is none returns a Null Shape.
CumOri = True : taking account the edge orientation

static void TopExp::MapShapes ( const TopoDS_Shape S,
const TopAbs_ShapeEnum  T,
TopTools_IndexedMapOfShape M 
)
static

 Tool to explore a topological data structure. <br>//! Stores in the map <M> all  the sub-shapes of <S> <br>
     of type <T>. <br>


Warning: The map is not cleared at first.

static void TopExp::MapShapes ( const TopoDS_Shape S,
TopTools_IndexedMapOfShape M 
)
static

Stores in the map <M> all the sub-shapes of <S>.

static void TopExp::MapShapesAndAncestors ( const TopoDS_Shape S,
const TopAbs_ShapeEnum  TS,
const TopAbs_ShapeEnum  TA,
TopTools_IndexedDataMapOfShapeListOfShape M 
)
static

Stores in the map <M> all the subshape of <S> of <br>
    type <TS>  for each one append  to  the list all <br>
    the ancestors of type <TA>.  For example map all <br>
    the edges and bind the list of faces. <br>

Warning: The map is not cleared at first.

static void TopExp::Vertices ( const TopoDS_Edge E,
TopoDS_Vertex Vfirst,
TopoDS_Vertex Vlast,
const Standard_Boolean  CumOri = Standard_False 
)
static

Returns in Vfirst, Vlast the FORWARD and REVERSED
vertices of the edge <E>. May be null shapes.
CumOri = True : taking account the edge orientation

static void TopExp::Vertices ( const TopoDS_Wire W,
TopoDS_Vertex Vfirst,
TopoDS_Vertex Vlast 
)
static

Returns in Vfirst, Vlast the first and last
vertices of the open wire <W>. May be null shapes.
if <W> is closed Vfirst and Vlast are a same
vertex on <W>.
if <W> is no manifold. VFirst and VLast are null
shapes.


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