Open CASCADE Technology  7.1.0.beta
Static Public Member Functions
BRepOffset_Tool Class Reference

#include <BRepOffset_Tool.hxx>

Static Public Member Functions

static 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. More...
 
static 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> More...
 
static 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>. More...
 
static 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. More...
 
static 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>. More...
 
static 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. More...
 
static void PipeInter (const TopoDS_Face &F1, const TopoDS_Face &F2, TopTools_ListOfShape &LInt1, TopTools_ListOfShape &LInt2, const TopAbs_State Side)
 
static void Inter2d (const TopoDS_Face &F, const TopoDS_Edge &E1, const TopoDS_Edge &E2, TopTools_ListOfShape &LV, const Standard_Real Tol)
 
static void InterOrExtent (const TopoDS_Face &F1, const TopoDS_Face &F2, TopTools_ListOfShape &LInt1, TopTools_ListOfShape &LInt2, const TopAbs_State Side)
 
static void CheckBounds (const TopoDS_Face &F, const BRepOffset_Analyse &Analyse, Standard_Boolean &enlargeU, Standard_Boolean &enlargeVfirst, Standard_Boolean &enlargeVlast)
 
static 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. More...
 
static void ExtentFace (const TopoDS_Face &F, TopTools_DataMapOfShapeShape &ConstShapes, TopTools_DataMapOfShapeShape &ToBuild, const TopAbs_State Side, const Standard_Real TolConf, TopoDS_Face &NF)
 
static 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>. More...
 
static 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. More...
 
static 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. More...
 
static void CorrectOrientation (const TopoDS_Shape &SI, const TopTools_IndexedMapOfShape &NewEdges, Handle< BRepAlgo_AsDes > &AsDes, BRepAlgo_Image &InitOffset, const Standard_Real Offset)
 
static Standard_Real Gabarit (const Handle< Geom_Curve > &aCurve)
 

Member Function Documentation

static void BRepOffset_Tool::BuildNeighbour ( const TopoDS_Wire W,
const TopoDS_Face F,
TopTools_DataMapOfShapeShape NOnV1,
TopTools_DataMapOfShapeShape NOnV2 
)
static

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 void BRepOffset_Tool::CheckBounds ( const TopoDS_Face F,
const BRepOffset_Analyse Analyse,
Standard_Boolean enlargeU,
Standard_Boolean enlargeVfirst,
Standard_Boolean enlargeVlast 
)
static
static void BRepOffset_Tool::CorrectOrientation ( const TopoDS_Shape SI,
const TopTools_IndexedMapOfShape NewEdges,
Handle< BRepAlgo_AsDes > &  AsDes,
BRepAlgo_Image InitOffset,
const Standard_Real  Offset 
)
static
static TopoDS_Shape BRepOffset_Tool::Deboucle3D ( const TopoDS_Shape S,
const TopTools_MapOfShape Boundary 
)
static

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 void BRepOffset_Tool::EdgeVertices ( const TopoDS_Edge E,
TopoDS_Vertex V1,
TopoDS_Vertex V2 
)
static

<V1> is the FirstVertex ,<V2> is the Last Vertex of <Edge> taking account the orientation of Edge.

static 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

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 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_Real BRepOffset_Tool::Gabarit ( const Handle< Geom_Curve > &  aCurve)
static
static Standard_Boolean BRepOffset_Tool::HasCommonShapes ( const TopoDS_Face F1,
const TopoDS_Face F2,
TopTools_ListOfShape LE,
TopTools_ListOfShape LV 
)
static

Returns True if <F1> and <F2> has common Vertices or edges , <LE> contains the common edges. <LV> the common vertices.

static 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 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

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 void BRepOffset_Tool::InterOrExtent ( const TopoDS_Face F1,
const TopoDS_Face F2,
TopTools_ListOfShape LInt1,
TopTools_ListOfShape LInt2,
const TopAbs_State  Side 
)
static
static void BRepOffset_Tool::MapVertexEdges ( const TopoDS_Shape S,
TopTools_DataMapOfShapeListOfShape MVE 
)
static

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 TopAbs_Orientation BRepOffset_Tool::OriEdgeInFace ( const TopoDS_Edge E,
const TopoDS_Face F 
)
static

returns the cumul of the orientation of <Edge> and thc containing wire in <Face>

static void BRepOffset_Tool::OrientSection ( const TopoDS_Edge E,
const TopoDS_Face F1,
const TopoDS_Face F2,
TopAbs_Orientation O1,
TopAbs_Orientation O2 
)
static

<E> is a section between <F1> and <F2>. Computes <O1> the orientation of <E> in <F1> influenced by <F2>. idem for <O2>.

static 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_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

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.


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