OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKBRep
TopExp


TopExp Class Reference

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

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

* Package methods to map sub-shapes of a shape.

Level : Public
All methods of all classes will be public.
.

#include <TopExp.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT void MapShapes (const TopoDS_Shape &S, const TopAbs_ShapeEnum T, TopTools_IndexedMapOfShape &M)
 Stores in the map <m> all the sub-shapes of <s>
of type <t>.

Warning: The map is not cleared at first.
.
static Standard_EXPORT void MapShapes (const TopoDS_Shape &S, TopTools_IndexedMapOfShape &M)
 Stores in the map <m> all the sub-shapes of <s>.
.
static Standard_EXPORT 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
type <ts> for each one append to the list all
the ancestors of type <ta>. For example map all
the edges and bind the list of faces.
Warning: The map is not cleared at first.
.
static Standard_EXPORT 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
.
static Standard_EXPORT 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
.
static Standard_EXPORT 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
.
static Standard_EXPORT 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.
.
static Standard_EXPORT Standard_Boolean CommonVertex (const TopoDS_Edge &E1, const TopoDS_Edge &E2, TopoDS_Vertex &V)
 Finds the vertex <v> common to the two edges
<E1,E2>, returns True if this vertex exists.

Warning: <v> has sense only if the value <true> is returned
.


Member Function Documentation

static Standard_EXPORT Standard_Boolean TopExp::CommonVertex const TopoDS_Edge E1,
const TopoDS_Edge E2,
TopoDS_Vertex V
[static]
 

static Standard_EXPORT TopoDS_Vertex TopExp::FirstVertex const TopoDS_Edge E,
const Standard_Boolean  CumOri = Standard_False
[static]
 

static Standard_EXPORT TopoDS_Vertex TopExp::LastVertex const TopoDS_Edge E,
const Standard_Boolean  CumOri = Standard_False
[static]
 

static Standard_EXPORT void TopExp::MapShapes const TopoDS_Shape S,
TopTools_IndexedMapOfShape M
[static]
 

static Standard_EXPORT void TopExp::MapShapes const TopoDS_Shape S,
const TopAbs_ShapeEnum  T,
TopTools_IndexedMapOfShape M
[static]
 

static Standard_EXPORT void TopExp::MapShapesAndAncestors const TopoDS_Shape S,
const TopAbs_ShapeEnum  TS,
const TopAbs_ShapeEnum  TA,
TopTools_IndexedDataMapOfShapeListOfShape M
[static]
 

void TopExp::operator delete void *  anAddress  )  [inline]
 

void* TopExp::operator new size_t  size  )  [inline]
 

void* TopExp::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT void TopExp::Vertices const TopoDS_Wire W,
TopoDS_Vertex Vfirst,
TopoDS_Vertex Vlast
[static]
 

static Standard_EXPORT void TopExp::Vertices const TopoDS_Edge E,
TopoDS_Vertex Vfirst,
TopoDS_Vertex Vlast,
const Standard_Boolean  CumOri = Standard_False
[static]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:23:08 2008 for OpenCASCADE by  doxygen 1.4.1