Open CASCADE Technology  7.5.0
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, const Standard_Boolean RemoveIntEdges=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, const Standard_Boolean RemoveIntEdges=Standard_False)
 
void Clear ()
 
void AllowLinearization (const Standard_Boolean theIsAllowed)
 Changes the flag allowing the linearization. More...
 
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
 
const TopoDS_ShapeInitShape () const
 
BRepOffset_Error Error () const
 returns information about offset state. 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...
 

History methods

const TopTools_ListOfShapeGenerated (const TopoDS_Shape &theS)
 Returns the list of shapes generated from the shape <S>. More...
 
const TopTools_ListOfShapeModified (const TopoDS_Shape &theS)
 Returns the list of shapes modified from the shape <S>. More...
 
Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns true if the shape S has been deleted. More...
 

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 
)

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.

◆ CheckInputData()

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
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 <S>.

◆ 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 ( )

◆ MakeThickSolid()

void BRepOffset_MakeOffset::MakeThickSolid ( )

◆ Modified()

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

Returns the list of shapes modified from the shape <S>.

◆ 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: