Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
BRepTools Class Reference

The BRepTools package provides utilities for BRep
data structures.

More...

#include <BRepTools.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC void UVBounds (const TopoDS_Face &F, Standard_Real &UMin, Standard_Real &UMax, Standard_Real &VMin, Standard_Real &VMax)
 Returns in UMin, UMax, VMin, VMax the bounding
values in the parametric space of F.

static void UVBounds (const TopoDS_Face &F, const TopoDS_Wire &W, Standard_Real &UMin, Standard_Real &UMax, Standard_Real &VMin, Standard_Real &VMax)
 Returns in UMin, UMax, VMin, VMax the bounding
values of the wire in the parametric space of F.

static void UVBounds (const TopoDS_Face &F, const TopoDS_Edge &E, Standard_Real &UMin, Standard_Real &UMax, Standard_Real &VMin, Standard_Real &VMax)
 Returns in UMin, UMax, VMin, VMax the bounding
values of the edge in the parametric space of F.

static void AddUVBounds (const TopoDS_Face &F, Bnd_Box2d &B)
 Adds to the box the bounding values in the
parametric space of F.

static void AddUVBounds (const TopoDS_Face &F, const TopoDS_Wire &W, Bnd_Box2d &B)
 Adds to the box the bounding values of the
wire in the parametric space of F.

static void AddUVBounds (const TopoDS_Face &F, const TopoDS_Edge &E, Bnd_Box2d &B)
 Adds to the box the bounding values of the
edge in the parametric space of F.

static void Update (const TopoDS_Vertex &V)
 Update a vertex (nothing is done)

static void Update (const TopoDS_Edge &E)
 Update an edge, compute 2d bounding boxes.

static void Update (const TopoDS_Wire &W)
 Update a wire (nothing is done)

static void Update (const TopoDS_Face &F)
 Update a Face, update UV points.

static void Update (const TopoDS_Shell &S)
 Update a shell (nothing is done)

static void Update (const TopoDS_Solid &S)
 Update a solid (nothing is done)

static void Update (const TopoDS_CompSolid &C)
 Update a composite solid (nothing is done)

static void Update (const TopoDS_Compound &C)
 Update a compound (nothing is done)

static void Update (const TopoDS_Shape &S)
 Update a shape, call the corect update.

static void UpdateFaceUVPoints (const TopoDS_Face &F)
 For all the edges of the face <F> reset the UV
points to ensure that connected faces have the
same point at there common extremity.

static void Clean (const TopoDS_Shape &S)
 Removes all the triangulations of the faces of <S>
and removes all polygons on triangulations of the
edges.

static void RemoveUnusedPCurves (const TopoDS_Shape &S)
 Removes all the pcurves of the edges of <S> that
refer to surfaces not belonging to any face of <S>

static Standard_Boolean Triangulation (const TopoDS_Shape &S, const Standard_Real deflec)
 verifies that each face from the shape <S> has got
a triangulation with a deflection <= deflec and
the edges a discretisation on this triangulation.

static Standard_Boolean Compare (const TopoDS_Vertex &V1, const TopoDS_Vertex &V2)
 Returns True if the distance between the two
vertices is lower than their tolerance.

static Standard_Boolean Compare (const TopoDS_Edge &E1, const TopoDS_Edge &E2)
 Returns True if the distance between the two
edges is lower than their tolerance.

static TopoDS_Wire OuterWire (const TopoDS_Face &F)
 Returns the outer most wire of <F>. Returns a Null
wire if <F> has no wires.

static TopoDS_Shell OuterShell (const TopoDS_Solid &S)
 Returns the outer most shell of <S>. Returns a Null
wire if <S> has no shells.

static void Map3DEdges (const TopoDS_Shape &S, TopTools_IndexedMapOfShape &M)
 Stores in the map <M> all the 3D topology edges
of <S>.

static Standard_Boolean IsReallyClosed (const TopoDS_Edge &E, const TopoDS_Face &F)
 Verifies that the edge <E> is found two times on
the face <F> before calling BRep_Tool::IsClosed.

static void Dump (const TopoDS_Shape &Sh, Standard_OStream &S)
 Dumps the topological structure and the geometry
of <Sh> on the stream <S>.

static void Write (const TopoDS_Shape &Sh, Standard_OStream &S, const Handle< Message_ProgressIndicator > &PR=NULL)
 Writes <Sh> on <S> in an ASCII format.

static void Read (TopoDS_Shape &Sh, Standard_IStream &S, const BRep_Builder &B, const Handle< Message_ProgressIndicator > &PR=NULL)
 Reads a Shape from <S> in returns it in <Sh>.
is used to build the shape.

static Standard_Boolean Write (const TopoDS_Shape &Sh, const Standard_CString File, const Handle< Message_ProgressIndicator > &PR=NULL)
 Writes <Sh> in <File>.

static Standard_Boolean Read (TopoDS_Shape &Sh, const Standard_CString File, const BRep_Builder &B, const Handle< Message_ProgressIndicator > &PR=NULL)
 Reads a Shape from <File>, returns it in <Sh>.
is used to build the shape.


Detailed Description

     * WireExplorer : A tool to explore the topology of <br>
     a wire in the order of the edges. <br>



Member Function Documentation

static void BRepTools::AddUVBounds ( const TopoDS_Face F,
Bnd_Box2d B 
) [static]
static void BRepTools::AddUVBounds ( const TopoDS_Face F,
const TopoDS_Wire W,
Bnd_Box2d B 
) [static]
static void BRepTools::AddUVBounds ( const TopoDS_Face F,
const TopoDS_Edge E,
Bnd_Box2d B 
) [static]
static void BRepTools::Clean ( const TopoDS_Shape S) [static]
static Standard_Boolean BRepTools::Compare ( const TopoDS_Edge E1,
const TopoDS_Edge E2 
) [static]
static void BRepTools::Dump ( const TopoDS_Shape Sh,
Standard_OStream S 
) [static]
static void BRepTools::Update ( const TopoDS_Vertex V) [static]
static void BRepTools::Update ( const TopoDS_Edge E) [static]
static void BRepTools::Update ( const TopoDS_Wire W) [static]
static void BRepTools::Update ( const TopoDS_Face F) [static]
static void BRepTools::Update ( const TopoDS_Shell S) [static]
static void BRepTools::Update ( const TopoDS_Solid S) [static]
static void BRepTools::Update ( const TopoDS_CompSolid C) [static]
static void BRepTools::Update ( const TopoDS_Compound C) [static]
static void BRepTools::Update ( const TopoDS_Shape S) [static]
static DEFINE_STANDARD_ALLOC void BRepTools::UVBounds ( const TopoDS_Face F,
Standard_Real UMin,
Standard_Real UMax,
Standard_Real VMin,
Standard_Real VMax 
) [static]
static void BRepTools::UVBounds ( const TopoDS_Face F,
const TopoDS_Wire W,
Standard_Real UMin,
Standard_Real UMax,
Standard_Real VMin,
Standard_Real VMax 
) [static]
static void BRepTools::UVBounds ( const TopoDS_Face F,
const TopoDS_Edge E,
Standard_Real UMin,
Standard_Real UMax,
Standard_Real VMin,
Standard_Real VMax 
) [static]

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