Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
BRepOffset_MakeOffset Class Reference

#include <BRepOffset_MakeOffset.hxx>

Public Member Functions

 BRepOffset_MakeOffset ()
 
 BRepOffset_MakeOffset (const TopoDS_Shape &S, const double Offset, const double Tol, const BRepOffset_Mode Mode=BRepOffset_Skin, const bool Intersection=false, const bool SelfInter=false, const GeomAbs_JoinType Join=GeomAbs_Arc, const bool Thickening=false, const bool RemoveIntEdges=false, const Message_ProgressRange &theRange=Message_ProgressRange())
 
void Initialize (const TopoDS_Shape &S, const double Offset, const double Tol, const BRepOffset_Mode Mode=BRepOffset_Skin, const bool Intersection=false, const bool SelfInter=false, const GeomAbs_JoinType Join=GeomAbs_Arc, const bool Thickening=false, const bool RemoveIntEdges=false)
 
void Clear ()
 
void AllowLinearization (const bool 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 double 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
 
bool 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 NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher > & ClosingFaces () const
 Returns the list of closing faces stores by AddFace.
 
bool 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

Returns the list of shapes generated from the shape .

const NCollection_List< TopoDS_Shape > & Generated (const TopoDS_Shape &theS)
 Returns the list of shapes modified from the shape .
 
const NCollection_List< TopoDS_Shape > & Modified (const TopoDS_Shape &theS)
 Returns the list of shapes modified from the shape .
 
bool IsDeleted (const TopoDS_Shape &S)
 Returns true if the shape S has been deleted.
 
void analyzeProgress (const double theWhole, NCollection_Array1< double > &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 double Offset,
const double Tol,
const BRepOffset_Mode Mode = BRepOffset_Skin,
const bool Intersection = false,
const bool SelfInter = false,
const GeomAbs_JoinType Join = GeomAbs_Arc,
const bool Thickening = false,
const bool RemoveIntEdges = 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 bool theIsAllowed)

Changes the flag allowing the linearization.

◆ analyzeProgress()

void BRepOffset_MakeOffset::analyzeProgress ( const double theWhole,
NCollection_Array1< double > & theSteps ) const
protected

Analyze progress steps of the whole operation.

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

◆ CheckInputData()

bool 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 NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher > & 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 NCollection_List< TopoDS_Shape > & BRepOffset_MakeOffset::Generated ( const TopoDS_Shape & theS)

Returns the list of shapes modified 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 double Offset,
const double Tol,
const BRepOffset_Mode Mode = BRepOffset_Skin,
const bool Intersection = false,
const bool SelfInter = false,
const GeomAbs_JoinType Join = GeomAbs_Arc,
const bool Thickening = false,
const bool RemoveIntEdges = false )

◆ InitShape()

const TopoDS_Shape & BRepOffset_MakeOffset::InitShape ( ) const
inline

◆ IsDeleted()

bool BRepOffset_MakeOffset::IsDeleted ( const TopoDS_Shape & S)

Returns true if the shape S has been deleted.

◆ IsDone()

bool 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 NCollection_List< TopoDS_Shape > & 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 double 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: