Open CASCADE Technology  7.7.0
Public Member Functions
BRepFill_OffsetWire Class Reference

Constructs a Offset Wire to a spine (wire or face). Offset direction will be to outer region in case of positive offset value and to inner region in case of negative offset value. Inner/Outer region for open wire is defined by the following rule: when we go along the wire (taking into account of edges orientation) then outer region will be on the right side, inner region will be on the left side. In case of closed wire, inner region will always be inside the wire (at that, edges orientation is not taken into account). The Wire or the Face must be planar and oriented correctly. More...

#include <BRepFill_OffsetWire.hxx>

Public Member Functions

 BRepFill_OffsetWire ()
 
 BRepFill_OffsetWire (const TopoDS_Face &Spine, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Boolean IsOpenResult=Standard_False)
 
void Init (const TopoDS_Face &Spine, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Boolean IsOpenResult=Standard_False)
 Initialize the evaluation of Offsetting. More...
 
void Perform (const Standard_Real Offset, const Standard_Real Alt=0.0)
 Performs an OffsetWire at an altitude <Alt> from the face ( According to the orientation of the face) More...
 
void PerformWithBiLo (const TopoDS_Face &WSP, const Standard_Real Offset, const BRepMAT2d_BisectingLocus &Locus, BRepMAT2d_LinkTopoBilo &Link, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Real Alt=0.0)
 Performs an OffsetWire. More...
 
Standard_Boolean IsDone () const
 
const TopoDS_FaceSpine () const
 
const TopoDS_ShapeShape () const
 returns the generated shape. More...
 
const TopTools_ListOfShapeGeneratedShapes (const TopoDS_Shape &SpineShape)
 Returns the shapes created from a subshape <SpineShape> of the spine. Returns the last computed Offset. More...
 
GeomAbs_JoinType JoinType () const
 

Detailed Description

Constructs a Offset Wire to a spine (wire or face). Offset direction will be to outer region in case of positive offset value and to inner region in case of negative offset value. Inner/Outer region for open wire is defined by the following rule: when we go along the wire (taking into account of edges orientation) then outer region will be on the right side, inner region will be on the left side. In case of closed wire, inner region will always be inside the wire (at that, edges orientation is not taken into account). The Wire or the Face must be planar and oriented correctly.

Constructor & Destructor Documentation

◆ BRepFill_OffsetWire() [1/2]

BRepFill_OffsetWire::BRepFill_OffsetWire ( )

◆ BRepFill_OffsetWire() [2/2]

BRepFill_OffsetWire::BRepFill_OffsetWire ( const TopoDS_Face Spine,
const GeomAbs_JoinType  Join = GeomAbs_Arc,
const Standard_Boolean  IsOpenResult = Standard_False 
)

Member Function Documentation

◆ GeneratedShapes()

const TopTools_ListOfShape& BRepFill_OffsetWire::GeneratedShapes ( const TopoDS_Shape SpineShape)

Returns the shapes created from a subshape <SpineShape> of the spine. Returns the last computed Offset.

◆ Init()

void BRepFill_OffsetWire::Init ( const TopoDS_Face Spine,
const GeomAbs_JoinType  Join = GeomAbs_Arc,
const Standard_Boolean  IsOpenResult = Standard_False 
)

Initialize the evaluation of Offsetting.

◆ IsDone()

Standard_Boolean BRepFill_OffsetWire::IsDone ( ) const

◆ JoinType()

GeomAbs_JoinType BRepFill_OffsetWire::JoinType ( ) const

◆ Perform()

void BRepFill_OffsetWire::Perform ( const Standard_Real  Offset,
const Standard_Real  Alt = 0.0 
)

Performs an OffsetWire at an altitude <Alt> from the face ( According to the orientation of the face)

◆ PerformWithBiLo()

void BRepFill_OffsetWire::PerformWithBiLo ( const TopoDS_Face WSP,
const Standard_Real  Offset,
const BRepMAT2d_BisectingLocus Locus,
BRepMAT2d_LinkTopoBilo Link,
const GeomAbs_JoinType  Join = GeomAbs_Arc,
const Standard_Real  Alt = 0.0 
)

Performs an OffsetWire.

◆ Shape()

const TopoDS_Shape& BRepFill_OffsetWire::Shape ( ) const

returns the generated shape.

◆ Spine()

const TopoDS_Face& BRepFill_OffsetWire::Spine ( ) const

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