Open CASCADE Technology 7.8.0
|
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>
This class compute elemenary offset surface. Evaluate the offset generated : 1 - from a face. 2 - from an edge. 3 - from a vertex.
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 offsetting 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 perform the approximation)
const TopoDS_Face & BRepOffset_Offset::Face | ( | ) | const |
TopoDS_Shape BRepOffset_Offset::Generated | ( | const TopoDS_Shape & | Shape | ) | const |
void BRepOffset_Offset::Init | ( | const TopoDS_Edge & | Edge, |
const Standard_Real | Offset | ||
) |
Only used in Rolling Ball. Pipe on Free Boundary.
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_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_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 perform the approximation)
const TopoDS_Shape & BRepOffset_Offset::InitialShape | ( | ) | const |
BRepOffset_Status BRepOffset_Offset::Status | ( | ) | const |