Open CASCADE Technology  6.9.1
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::BRepOffset_Offset ( )
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::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::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::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::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

const TopoDS_Face& BRepOffset_Offset::Face ( ) const
TopoDS_Shape BRepOffset_Offset::Generated ( const TopoDS_Shape Shape) const
void BRepOffset_Offset::Init ( const TopoDS_Face Face,
const Standard_Real  Offset,
const Standard_Boolean  OffsetOutside = Standard_True,
const GeomAbs_JoinType  JoinType = GeomAbs_Arc 
)
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 
)
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 
)
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 
)
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)

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

Only used in Rolling Ball. Pipe on Free Boundary.

const TopoDS_Shape& BRepOffset_Offset::InitialShape ( ) const
BRepOffset_Status BRepOffset_Offset::Status ( ) const

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