Open CASCADE Technology  7.4.0
Public Member Functions
BRepOffset_Offset Class Reference

This class compute elemenary offset surface. Evaluate the offset generated : 1 - from a face. 2 - from an edge. 3 - from a vertex. More...

#include <BRepOffset_Offset.hxx>

Public Member Functions

 BRepOffset_Offset ()
 
 BRepOffset_Offset (const TopoDS_Face &Face, const Standard_Real Offset, const Standard_Boolean OffsetOutside=Standard_True, const GeomAbs_JoinType JoinType=GeomAbs_Arc)
 
 BRepOffset_Offset (const TopoDS_Face &Face, const Standard_Real Offset, const TopTools_DataMapOfShapeShape &Created, const Standard_Boolean OffsetOutside=Standard_True, const GeomAbs_JoinType JoinType=GeomAbs_Arc)
 This method will be called when you want to share the edges soon generated from an other face. e.g. when two faces are tangents the common edge will generate only one edge ( no pipe). More...
 
 BRepOffset_Offset (const TopoDS_Edge &Path, const TopoDS_Edge &Edge1, const TopoDS_Edge &Edge2, const Standard_Real Offset, const Standard_Boolean Polynomial=Standard_False, const Standard_Real Tol=1.0e-4, const GeomAbs_Shape Conti=GeomAbs_C1)
 
 BRepOffset_Offset (const TopoDS_Edge &Path, const TopoDS_Edge &Edge1, const TopoDS_Edge &Edge2, const Standard_Real Offset, const TopoDS_Edge &FirstEdge, const TopoDS_Edge &LastEdge, const Standard_Boolean Polynomial=Standard_False, const Standard_Real Tol=1.0e-4, const GeomAbs_Shape Conti=GeomAbs_C1)
 
 BRepOffset_Offset (const TopoDS_Vertex &Vertex, const TopTools_ListOfShape &LEdge, const Standard_Real Offset, const Standard_Boolean Polynomial=Standard_False, const Standard_Real Tol=1.0e-4, const GeomAbs_Shape Conti=GeomAbs_C1)
 Tol and Conti are only used if Polynomial is True (Used to perfrom the approximation) More...
 
void Init (const TopoDS_Face &Face, const Standard_Real Offset, const Standard_Boolean OffsetOutside=Standard_True, const GeomAbs_JoinType JoinType=GeomAbs_Arc)
 
void Init (const TopoDS_Face &Face, const Standard_Real Offset, const TopTools_DataMapOfShapeShape &Created, const Standard_Boolean OffsetOutside=Standard_True, const GeomAbs_JoinType JoinType=GeomAbs_Arc)
 
void Init (const TopoDS_Edge &Path, const TopoDS_Edge &Edge1, const TopoDS_Edge &Edge2, const Standard_Real Offset, const Standard_Boolean Polynomial=Standard_False, const Standard_Real Tol=1.0e-4, const GeomAbs_Shape Conti=GeomAbs_C1)
 
void Init (const TopoDS_Edge &Path, const TopoDS_Edge &Edge1, const TopoDS_Edge &Edge2, const Standard_Real Offset, const TopoDS_Edge &FirstEdge, const TopoDS_Edge &LastEdge, const Standard_Boolean Polynomial=Standard_False, const Standard_Real Tol=1.0e-4, const GeomAbs_Shape Conti=GeomAbs_C1)
 
void Init (const TopoDS_Vertex &Vertex, const TopTools_ListOfShape &LEdge, const Standard_Real Offset, const Standard_Boolean Polynomial=Standard_False, const Standard_Real Tol=1.0e-4, const GeomAbs_Shape Conti=GeomAbs_C1)
 Tol and Conti are only used if Polynomial is True (Used to perfrom the approximation) More...
 
void Init (const TopoDS_Edge &Edge, const Standard_Real Offset)
 Only used in Rolling Ball. Pipe on Free Boundary. More...
 
const TopoDS_ShapeInitialShape () const
 
const TopoDS_FaceFace () const
 
TopoDS_Shape Generated (const TopoDS_Shape &Shape) const
 
BRepOffset_Status Status () const
 

Detailed Description

This class compute elemenary offset surface. Evaluate the offset generated : 1 - from a face. 2 - from an edge. 3 - from a vertex.

Constructor & Destructor Documentation

◆ BRepOffset_Offset() [1/6]

BRepOffset_Offset::BRepOffset_Offset ( )

◆ BRepOffset_Offset() [2/6]

BRepOffset_Offset::BRepOffset_Offset ( const TopoDS_Face Face,
const Standard_Real  Offset,
const Standard_Boolean  OffsetOutside = Standard_True,
const GeomAbs_JoinType  JoinType = GeomAbs_Arc 
)

◆ BRepOffset_Offset() [3/6]

BRepOffset_Offset::BRepOffset_Offset ( const TopoDS_Face Face,
const Standard_Real  Offset,
const TopTools_DataMapOfShapeShape Created,
const Standard_Boolean  OffsetOutside = Standard_True,
const GeomAbs_JoinType  JoinType = GeomAbs_Arc 
)

This method will be called when you want to share the edges soon generated from an other face. e.g. when two faces are tangents the common edge will generate only one edge ( no pipe).

The Map will be fill as follow:

Created(E) = E' with: E = an edge of <Face> E' = the image of E in the offseting of another face sharing E with a continuity at least G1

◆ BRepOffset_Offset() [4/6]

BRepOffset_Offset::BRepOffset_Offset ( const TopoDS_Edge Path,
const TopoDS_Edge Edge1,
const TopoDS_Edge Edge2,
const Standard_Real  Offset,
const Standard_Boolean  Polynomial = Standard_False,
const Standard_Real  Tol = 1.0e-4,
const GeomAbs_Shape  Conti = GeomAbs_C1 
)

◆ BRepOffset_Offset() [5/6]

BRepOffset_Offset::BRepOffset_Offset ( const TopoDS_Edge Path,
const TopoDS_Edge Edge1,
const TopoDS_Edge Edge2,
const Standard_Real  Offset,
const TopoDS_Edge FirstEdge,
const TopoDS_Edge LastEdge,
const Standard_Boolean  Polynomial = Standard_False,
const Standard_Real  Tol = 1.0e-4,
const GeomAbs_Shape  Conti = GeomAbs_C1 
)

◆ BRepOffset_Offset() [6/6]

BRepOffset_Offset::BRepOffset_Offset ( const TopoDS_Vertex Vertex,
const TopTools_ListOfShape LEdge,
const Standard_Real  Offset,
const Standard_Boolean  Polynomial = Standard_False,
const Standard_Real  Tol = 1.0e-4,
const GeomAbs_Shape  Conti = GeomAbs_C1 
)

Tol and Conti are only used if Polynomial is True (Used to perfrom the approximation)

Member Function Documentation

◆ Face()

const TopoDS_Face& BRepOffset_Offset::Face ( ) const

◆ Generated()

TopoDS_Shape BRepOffset_Offset::Generated ( const TopoDS_Shape Shape) const

◆ Init() [1/6]

void BRepOffset_Offset::Init ( const TopoDS_Face Face,
const Standard_Real  Offset,
const Standard_Boolean  OffsetOutside = Standard_True,
const GeomAbs_JoinType  JoinType = GeomAbs_Arc 
)

◆ Init() [2/6]

void BRepOffset_Offset::Init ( const TopoDS_Face Face,
const Standard_Real  Offset,
const TopTools_DataMapOfShapeShape Created,
const Standard_Boolean  OffsetOutside = Standard_True,
const GeomAbs_JoinType  JoinType = GeomAbs_Arc 
)

◆ Init() [3/6]

void BRepOffset_Offset::Init ( const TopoDS_Edge Path,
const TopoDS_Edge Edge1,
const TopoDS_Edge Edge2,
const Standard_Real  Offset,
const Standard_Boolean  Polynomial = Standard_False,
const Standard_Real  Tol = 1.0e-4,
const GeomAbs_Shape  Conti = GeomAbs_C1 
)

◆ Init() [4/6]

void BRepOffset_Offset::Init ( const TopoDS_Edge Path,
const TopoDS_Edge Edge1,
const TopoDS_Edge Edge2,
const Standard_Real  Offset,
const TopoDS_Edge FirstEdge,
const TopoDS_Edge LastEdge,
const Standard_Boolean  Polynomial = Standard_False,
const Standard_Real  Tol = 1.0e-4,
const GeomAbs_Shape  Conti = GeomAbs_C1 
)

◆ Init() [5/6]

void BRepOffset_Offset::Init ( const TopoDS_Vertex Vertex,
const TopTools_ListOfShape LEdge,
const Standard_Real  Offset,
const Standard_Boolean  Polynomial = Standard_False,
const Standard_Real  Tol = 1.0e-4,
const GeomAbs_Shape  Conti = GeomAbs_C1 
)

Tol and Conti are only used if Polynomial is True (Used to perfrom the approximation)

◆ Init() [6/6]

void BRepOffset_Offset::Init ( const TopoDS_Edge Edge,
const Standard_Real  Offset 
)

Only used in Rolling Ball. Pipe on Free Boundary.

◆ InitialShape()

const TopoDS_Shape& BRepOffset_Offset::InitialShape ( ) const

◆ Status()

BRepOffset_Status BRepOffset_Offset::Status ( ) const

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