Open CASCADE Technology  6.9.1
Public Member Functions
BRepOffset_MakeOffset Class Reference

#include <BRepOffset_MakeOffset.hxx>

Public Member Functions

 BRepOffset_MakeOffset ()
 
 BRepOffset_MakeOffset (const TopoDS_Shape &S, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode=BRepOffset_Skin, const Standard_Boolean Intersection=Standard_False, const Standard_Boolean SelfInter=Standard_False, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Boolean Thickening=Standard_False)
 
void Initialize (const TopoDS_Shape &S, const Standard_Real Offset, const Standard_Real Tol, const BRepOffset_Mode Mode=BRepOffset_Skin, const Standard_Boolean Intersection=Standard_False, const Standard_Boolean SelfInter=Standard_False, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Boolean Thickening=Standard_False)
 
void Clear ()
 
void AddFace (const TopoDS_Face &F)
 Add Closing Faces, <F> has to be in the initial shape S. More...
 
void SetOffsetOnFace (const TopoDS_Face &F, const Standard_Real Off)
 set the offset <Off> on the Face <F> More...
 
void MakeOffsetShape ()
 
void MakeThickSolid ()
 
const BRepOffset_AnalyseGetAnalyse () const
 
Standard_Boolean IsDone () const
 
const TopoDS_ShapeShape () const
 
BRepOffset_Error Error () const
 returns information if IsDone() = FALSE. More...
 
const BRepAlgo_ImageOffsetFacesFromShapes () const
 Returns <Image> containing links between initials shapes and offset faces. More...
 
GeomAbs_JoinType GetJoinType () const
 Returns myJoin. More...
 
const BRepAlgo_ImageOffsetEdgesFromShapes () const
 Returns <Image> containing links between initials shapes and offset edges. More...
 
const TopTools_IndexedMapOfShapeClosingFaces () const
 Returns the list of closing faces stores by AddFace. More...
 
Standard_Boolean CheckInputData ()
 Makes pre analysis of possibility offset perform. Use method Error() to get more information. Finds first error. List of checks: 1) Check for existence object with non-null offset. 2) Check for connectivity in offset shell. 3) Check continuity of input surfaces. 4) Check for normals existence on grid. More...
 
const TopoDS_ShapeGetBadShape () const
 Return bad shape, which obtained in CheckInputData. More...
 

Constructor & Destructor Documentation

BRepOffset_MakeOffset::BRepOffset_MakeOffset ( )
BRepOffset_MakeOffset::BRepOffset_MakeOffset ( const TopoDS_Shape S,
const Standard_Real  Offset,
const Standard_Real  Tol,
const BRepOffset_Mode  Mode = BRepOffset_Skin,
const Standard_Boolean  Intersection = Standard_False,
const Standard_Boolean  SelfInter = Standard_False,
const GeomAbs_JoinType  Join = GeomAbs_Arc,
const Standard_Boolean  Thickening = Standard_False 
)

Member Function Documentation

void BRepOffset_MakeOffset::AddFace ( const TopoDS_Face F)

Add Closing Faces, <F> has to be in the initial shape S.

Standard_Boolean BRepOffset_MakeOffset::CheckInputData ( )

Makes pre analysis of possibility offset perform. Use method Error() to get more information. Finds first error. List of checks: 1) Check for existence object with non-null offset. 2) Check for connectivity in offset shell. 3) Check continuity of input surfaces. 4) Check for normals existence on grid.

Returns
1 if possible make computations and 0 if not possible.
void BRepOffset_MakeOffset::Clear ( )
const TopTools_IndexedMapOfShape& BRepOffset_MakeOffset::ClosingFaces ( ) const

Returns the list of closing faces stores by AddFace.

BRepOffset_Error BRepOffset_MakeOffset::Error ( ) const

returns information if IsDone() = FALSE.

const BRepOffset_Analyse& BRepOffset_MakeOffset::GetAnalyse ( ) const
const TopoDS_Shape& BRepOffset_MakeOffset::GetBadShape ( ) const

Return bad shape, which obtained in CheckInputData.

GeomAbs_JoinType BRepOffset_MakeOffset::GetJoinType ( ) const

Returns myJoin.

void BRepOffset_MakeOffset::Initialize ( const TopoDS_Shape S,
const Standard_Real  Offset,
const Standard_Real  Tol,
const BRepOffset_Mode  Mode = BRepOffset_Skin,
const Standard_Boolean  Intersection = Standard_False,
const Standard_Boolean  SelfInter = Standard_False,
const GeomAbs_JoinType  Join = GeomAbs_Arc,
const Standard_Boolean  Thickening = Standard_False 
)
Standard_Boolean BRepOffset_MakeOffset::IsDone ( ) const
void BRepOffset_MakeOffset::MakeOffsetShape ( )
void BRepOffset_MakeOffset::MakeThickSolid ( )
const BRepAlgo_Image& BRepOffset_MakeOffset::OffsetEdgesFromShapes ( ) const

Returns <Image> containing links between initials shapes and offset edges.

const BRepAlgo_Image& BRepOffset_MakeOffset::OffsetFacesFromShapes ( ) const

Returns <Image> containing links between initials shapes and offset faces.

void BRepOffset_MakeOffset::SetOffsetOnFace ( const TopoDS_Face F,
const Standard_Real  Off 
)

set the offset <Off> on the Face <F>

const TopoDS_Shape& BRepOffset_MakeOffset::Shape ( ) const

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