Open CASCADE Technology 7.8.2.dev
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, const Standard_Boolean RemoveIntEdges=Standard_False, const Message_ProgressRange &theRange=Message_ProgressRange())
 
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, const Standard_Boolean RemoveIntEdges=Standard_False)
 
void Clear ()
 
void AllowLinearization (const Standard_Boolean theIsAllowed)
 Changes the flag allowing the linearization.
 
void AddFace (const TopoDS_Face &F)
 Add Closing Faces, <F> has to be in the initial shape S.
 
void SetOffsetOnFace (const TopoDS_Face &F, const Standard_Real Off)
 set the offset <Off> on the Face <F>
 
void MakeOffsetShape (const Message_ProgressRange &theRange=Message_ProgressRange())
 
void MakeThickSolid (const Message_ProgressRange &theRange=Message_ProgressRange())
 
const BRepOffset_AnalyseGetAnalyse () const
 
Standard_Boolean IsDone () const
 
const TopoDS_ShapeShape () const
 
const TopoDS_ShapeInitShape () const
 
BRepOffset_Error Error () const
 returns information about offset state.
 
const BRepAlgo_ImageOffsetFacesFromShapes () const
 Returns <Image> containing links between initials shapes and offset faces.
 
GeomAbs_JoinType GetJoinType () const
 Returns myJoin.
 
const BRepAlgo_ImageOffsetEdgesFromShapes () const
 Returns <Image> containing links between initials shapes and offset edges.
 
const TopTools_IndexedMapOfShapeClosingFaces () const
 Returns the list of closing faces stores by AddFace.
 
Standard_Boolean CheckInputData (const Message_ProgressRange &theRange)
 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.
 
const TopoDS_ShapeGetBadShape () const
 Return bad shape, which obtained in CheckInputData.
 

History methods

const TopTools_ListOfShapeGenerated (const TopoDS_Shape &theS)
 Returns the list of shapes generated from the shape .
 
const TopTools_ListOfShapeModified (const TopoDS_Shape &theS)
 Returns the list of shapes modified from the shape .
 
Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns true if the shape S has been deleted.
 
void analyzeProgress (const Standard_Real theWhole, TColStd_Array1OfReal &theSteps) const
 Analyze progress steps of the whole operation.
 

Constructor & Destructor Documentation

◆ BRepOffset_MakeOffset() [1/2]

BRepOffset_MakeOffset::BRepOffset_MakeOffset ( )

◆ BRepOffset_MakeOffset() [2/2]

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,
const Standard_Boolean RemoveIntEdges = Standard_False,
const Message_ProgressRange & theRange = Message_ProgressRange() )

Member Function Documentation

◆ AddFace()

void BRepOffset_MakeOffset::AddFace ( const TopoDS_Face & F)

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

◆ AllowLinearization()

void BRepOffset_MakeOffset::AllowLinearization ( const Standard_Boolean theIsAllowed)

Changes the flag allowing the linearization.

◆ analyzeProgress()

void BRepOffset_MakeOffset::analyzeProgress ( const Standard_Real theWhole,
TColStd_Array1OfReal & theSteps ) const
protected

Analyze progress steps of the whole operation.

Parameters
theWhole- sum of progress of all operations. @oaram theSteps - steps of the operations supported by PI

◆ CheckInputData()

Standard_Boolean BRepOffset_MakeOffset::CheckInputData ( const Message_ProgressRange & theRange)

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
True if possible make computations and false otherwise.

◆ Clear()

void BRepOffset_MakeOffset::Clear ( )

◆ ClosingFaces()

const TopTools_IndexedMapOfShape & BRepOffset_MakeOffset::ClosingFaces ( ) const

Returns the list of closing faces stores by AddFace.

◆ Error()

BRepOffset_Error BRepOffset_MakeOffset::Error ( ) const

returns information about offset state.

◆ Generated()

const TopTools_ListOfShape & BRepOffset_MakeOffset::Generated ( const TopoDS_Shape & theS)

Returns the list of shapes generated from the shape .

◆ GetAnalyse()

const BRepOffset_Analyse & BRepOffset_MakeOffset::GetAnalyse ( ) const

◆ GetBadShape()

const TopoDS_Shape & BRepOffset_MakeOffset::GetBadShape ( ) const

Return bad shape, which obtained in CheckInputData.

◆ GetJoinType()

GeomAbs_JoinType BRepOffset_MakeOffset::GetJoinType ( ) const

Returns myJoin.

◆ Initialize()

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,
const Standard_Boolean RemoveIntEdges = Standard_False )

◆ InitShape()

const TopoDS_Shape & BRepOffset_MakeOffset::InitShape ( ) const
inline

◆ IsDeleted()

Standard_Boolean BRepOffset_MakeOffset::IsDeleted ( const TopoDS_Shape & S)

Returns true if the shape S has been deleted.

◆ IsDone()

Standard_Boolean BRepOffset_MakeOffset::IsDone ( ) const

◆ MakeOffsetShape()

void BRepOffset_MakeOffset::MakeOffsetShape ( const Message_ProgressRange & theRange = Message_ProgressRange())

◆ MakeThickSolid()

void BRepOffset_MakeOffset::MakeThickSolid ( const Message_ProgressRange & theRange = Message_ProgressRange())

◆ Modified()

const TopTools_ListOfShape & BRepOffset_MakeOffset::Modified ( const TopoDS_Shape & theS)

Returns the list of shapes modified from the shape .

◆ OffsetEdgesFromShapes()

const BRepAlgo_Image & BRepOffset_MakeOffset::OffsetEdgesFromShapes ( ) const

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

◆ OffsetFacesFromShapes()

const BRepAlgo_Image & BRepOffset_MakeOffset::OffsetFacesFromShapes ( ) const

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

◆ SetOffsetOnFace()

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

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

◆ Shape()

const TopoDS_Shape & BRepOffset_MakeOffset::Shape ( ) const

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