Open CASCADE Technology  7.4.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 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 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...
 

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.

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

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

◆ IsDone()

Standard_Boolean BRepOffset_MakeOffset::IsDone ( ) const

◆ MakeOffsetShape()

void BRepOffset_MakeOffset::MakeOffsetShape ( )

◆ MakeThickSolid()

void BRepOffset_MakeOffset::MakeThickSolid ( )

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