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

ModelingAlgorithms
TKOffset
BRepOffset


BRepOffset_Tool Class Reference

#include <BRepOffset_Tool.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 EdgeVertices (const TopoDS_Edge &E, TopoDS_Vertex &V1, TopoDS_Vertex &V2)
 <v1> is the FirstVertex ,<v2> is the Last Vertex of <edge>
taking account the orientation of Edge.

static Standard_EXPORT TopAbs_Orientation OriEdgeInFace (const TopoDS_Edge &E, const TopoDS_Face &F)
 returns the cumul of the orientation of <edge>
and thc containing wire in <face>

static Standard_EXPORT void OrientSection (const TopoDS_Edge &E, const TopoDS_Face &F1, const TopoDS_Face &F2, TopAbs_Orientation &O1, TopAbs_Orientation &O2)
 <e> is a section between <f1> and <f2>. Computes
<o1> the orientation of <e> in <f1> influenced by <f2>.
idem for <o2>.

static Standard_EXPORT Standard_Boolean HasCommonShapes (const TopoDS_Face &F1, const TopoDS_Face &F2, TopTools_ListOfShape &LE, TopTools_ListOfShape &LV)
 Returns True if <f1> and <f2> has common Vertices
or edges , <le> contains the common edges. <lv> the
common vertices.
.
static Standard_EXPORT void Inter3D (const TopoDS_Face &F1, const TopoDS_Face &F2, TopTools_ListOfShape &LInt1, TopTools_ListOfShape &LInt2, const TopAbs_State Side, const TopoDS_Edge &RefEdge, const Standard_Boolean IsRefEdgeDefined=Standard_False)
 Computes the Section betwwen <f1> and <f2> the
edges solution are stored in <lint1> with the
orientation on <f1>, the sames edges are stored in
<lint2> with the orientation on <f2>.
.
static Standard_EXPORT Standard_Boolean TryProject (const TopoDS_Face &F1, const TopoDS_Face &F2, const TopTools_ListOfShape &Edges, TopTools_ListOfShape &LInt1, TopTools_ListOfShape &LInt2, const TopAbs_State Side, const Standard_Real TolConf)
 Find if the edges <edges> of the face <f2> are on
the face <f1>.
Set in <lint1> <lint2> the updated edges.
If all the edges are computed, returns true.

.
static Standard_EXPORT void PipeInter (const TopoDS_Face &F1, const TopoDS_Face &F2, TopTools_ListOfShape &LInt1, TopTools_ListOfShape &LInt2, const TopAbs_State Side)
static Standard_EXPORT void Inter2d (const TopoDS_Face &F, const TopoDS_Edge &E1, const TopoDS_Edge &E2, TopTools_ListOfShape &LV, const Standard_Real Tol)
static Standard_EXPORT void InterOrExtent (const TopoDS_Face &F1, const TopoDS_Face &F2, TopTools_ListOfShape &LInt1, TopTools_ListOfShape &LInt2, const TopAbs_State Side)
static Standard_EXPORT void CheckBounds (const TopoDS_Face &F, const BRepOffset_Analyse &Analyse, Standard_Boolean &enlargeU, Standard_Boolean &enlargeVfirst, Standard_Boolean &enlargeVlast)
static Standard_EXPORT Standard_Boolean EnLargeFace (const TopoDS_Face &F, TopoDS_Face &NF, const Standard_Boolean ChangeGeom, const Standard_Boolean UpDatePCurve=Standard_False, const Standard_Boolean enlargeU=Standard_True, const Standard_Boolean enlargeVfirst=Standard_True, const Standard_Boolean enlargeVlast=Standard_True)
 if <changegeom> is TRUE , the surface can be
changed .
if <updatepcurve> is TRUE, update the pcurves of the
edges of <f> on the new surface.if the surface has been changed,
Returns True if The Surface of <nf> has changed.


static Standard_EXPORT void ExtentFace (const TopoDS_Face &F, TopTools_DataMapOfShapeShape &ConstShapes, TopTools_DataMapOfShapeShape &ToBuild, const TopAbs_State Side, const Standard_Real TolConf, TopoDS_Face &NF)
static Standard_EXPORT void BuildNeighbour (const TopoDS_Wire &W, const TopoDS_Face &F, TopTools_DataMapOfShapeShape &NOnV1, TopTools_DataMapOfShapeShape &NOnV2)
 Via the wire explorer store in <nonv1> for
an Edge <e> of <w> his Edge neighbour on the first
vertex <v1> of <e>.
Store in NOnV2 the Neighbour of <e>on the last
vertex <v2> of <e>.
.
static Standard_EXPORT void MapVertexEdges (const TopoDS_Shape &S, TopTools_DataMapOfShapeListOfShape &MVE)
 Store in MVE for a vertex <v> in <s> the incident
edges <e> in <s>.
An Edge is Store only one Time for a vertex.
.
static Standard_EXPORT TopoDS_Shape Deboucle3D (const TopoDS_Shape &S, const TopTools_MapOfShape &Boundary)
 Remove the non valid part of an offsetshape
1 - Remove all the free boundary and the faces
connex to such edges.
2 - Remove all the shapes not valid in the result
(according to the side of offseting)
in this verion only the first point is implemented.
.
static Standard_EXPORT void CorrectOrientation (const TopoDS_Shape &SI, const TopTools_MapOfShape &NewEdges, Handle(BRepAlgo_AsDes)&AsDes, BRepAlgo_Image &InitOffset, const Standard_Real Offset)
static Standard_EXPORT Standard_Real Gabarit (const Handle(Geom_Curve)&aCurve)


Member Function Documentation

static Standard_EXPORT void BRepOffset_Tool::BuildNeighbour const TopoDS_Wire &  W,
const TopoDS_Face &  F,
TopTools_DataMapOfShapeShape &  NOnV1,
TopTools_DataMapOfShapeShape &  NOnV2
[static]
 

static Standard_EXPORT void BRepOffset_Tool::CheckBounds const TopoDS_Face &  F,
const BRepOffset_Analyse Analyse,
Standard_Boolean enlargeU,
Standard_Boolean enlargeVfirst,
Standard_Boolean enlargeVlast
[static]
 

static Standard_EXPORT void BRepOffset_Tool::CorrectOrientation const TopoDS_Shape &  SI,
const TopTools_MapOfShape &  NewEdges,
Handle(BRepAlgo_AsDes)&  AsDes,
BRepAlgo_Image InitOffset,
const Standard_Real  Offset
[static]
 

static Standard_EXPORT TopoDS_Shape BRepOffset_Tool::Deboucle3D const TopoDS_Shape &  S,
const TopTools_MapOfShape &  Boundary
[static]
 

static Standard_EXPORT void BRepOffset_Tool::EdgeVertices const TopoDS_Edge &  E,
TopoDS_Vertex &  V1,
TopoDS_Vertex &  V2
[static]
 

static Standard_EXPORT Standard_Boolean BRepOffset_Tool::EnLargeFace const TopoDS_Face &  F,
TopoDS_Face &  NF,
const Standard_Boolean  ChangeGeom,
const Standard_Boolean  UpDatePCurve = Standard_False,
const Standard_Boolean  enlargeU = Standard_True,
const Standard_Boolean  enlargeVfirst = Standard_True,
const Standard_Boolean  enlargeVlast = Standard_True
[static]
 

static Standard_EXPORT void BRepOffset_Tool::ExtentFace const TopoDS_Face &  F,
TopTools_DataMapOfShapeShape &  ConstShapes,
TopTools_DataMapOfShapeShape &  ToBuild,
const TopAbs_State  Side,
const Standard_Real  TolConf,
TopoDS_Face &  NF
[static]
 

static Standard_EXPORT Standard_Real BRepOffset_Tool::Gabarit const Handle(Geom_Curve)&  aCurve  )  [static]
 

static Standard_EXPORT Standard_Boolean BRepOffset_Tool::HasCommonShapes const TopoDS_Face &  F1,
const TopoDS_Face &  F2,
TopTools_ListOfShape &  LE,
TopTools_ListOfShape &  LV
[static]
 

static Standard_EXPORT void BRepOffset_Tool::Inter2d const TopoDS_Face &  F,
const TopoDS_Edge &  E1,
const TopoDS_Edge &  E2,
TopTools_ListOfShape &  LV,
const Standard_Real  Tol
[static]
 

static Standard_EXPORT void BRepOffset_Tool::Inter3D const TopoDS_Face &  F1,
const TopoDS_Face &  F2,
TopTools_ListOfShape &  LInt1,
TopTools_ListOfShape &  LInt2,
const TopAbs_State  Side,
const TopoDS_Edge &  RefEdge,
const Standard_Boolean  IsRefEdgeDefined = Standard_False
[static]
 

static Standard_EXPORT void BRepOffset_Tool::InterOrExtent const TopoDS_Face &  F1,
const TopoDS_Face &  F2,
TopTools_ListOfShape &  LInt1,
TopTools_ListOfShape &  LInt2,
const TopAbs_State  Side
[static]
 

static Standard_EXPORT void BRepOffset_Tool::MapVertexEdges const TopoDS_Shape &  S,
TopTools_DataMapOfShapeListOfShape &  MVE
[static]
 

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

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

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

static Standard_EXPORT TopAbs_Orientation BRepOffset_Tool::OriEdgeInFace const TopoDS_Edge &  E,
const TopoDS_Face &  F
[static]
 

static Standard_EXPORT void BRepOffset_Tool::OrientSection const TopoDS_Edge &  E,
const TopoDS_Face &  F1,
const TopoDS_Face &  F2,
TopAbs_Orientation &  O1,
TopAbs_Orientation &  O2
[static]
 

static Standard_EXPORT void BRepOffset_Tool::PipeInter const TopoDS_Face &  F1,
const TopoDS_Face &  F2,
TopTools_ListOfShape &  LInt1,
TopTools_ListOfShape &  LInt2,
const TopAbs_State  Side
[static]
 

static Standard_EXPORT Standard_Boolean BRepOffset_Tool::TryProject const TopoDS_Face &  F1,
const TopoDS_Face &  F2,
const TopTools_ListOfShape &  Edges,
TopTools_ListOfShape &  LInt1,
TopTools_ListOfShape &  LInt2,
const TopAbs_State  Side,
const Standard_Real  TolConf
[static]
 


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