Open CASCADE Technology 6.6.0
Public Member Functions
BRepOffsetAPI_MakeOffset Class Reference

Describes algorithms for offsetting wires from a set of
wires contained in a planar face.
A MakeOffset object provides a framework for:
More...

#include <BRepOffsetAPI_MakeOffset.hxx>

Inheritance diagram for BRepOffsetAPI_MakeOffset:
Inheritance graph
[legend]

Public Member Functions

 BRepOffsetAPI_MakeOffset ()
 Constructs an algorithm for creating an empty offset

 BRepOffsetAPI_MakeOffset (const TopoDS_Face &Spine, const GeomAbs_JoinType Join=GeomAbs_Arc)
 Constructs an algorithm for creating an algorithm
to build parallels to the spine Spine

void Init (const TopoDS_Face &Spine, const GeomAbs_JoinType Join=GeomAbs_Arc)
 Initializes the algorithm to construct parallels to the spine Spine.
Join defines the type of parallel generated by the
salient vertices of the spine. The default type is
GeomAbs_Arc where the vertices generate sections
of a circle. At present, this is the only construction type implemented.

 BRepOffsetAPI_MakeOffset (const TopoDS_Wire &Spine, const GeomAbs_JoinType Join=GeomAbs_Arc)
void Init (const GeomAbs_JoinType Join=GeomAbs_Arc)
 Initialize the evaluation of Offseting.

void AddWire (const TopoDS_Wire &Spine)
 Initializes the algorithm to construct parallels to the wire Spine.

void Perform (const Standard_Real Offset, const Standard_Real Alt=0.0)
 Computes a parallel to the spine at distance Offset and
at an altitude Alt from the plane of the spine in relation
to the normal to the spine.
Exceptions: StdFail_NotDone if the offset is not built.

virtual void Build ()
 Builds the resulting shape (redefined from MakeShape).

virtual const
TopTools_ListOfShape
Generated (const TopoDS_Shape &S)
 returns a list of the created shapes
from the shape <S>.


Detailed Description


Constructor & Destructor Documentation

BRepOffsetAPI_MakeOffset::BRepOffsetAPI_MakeOffset ( )
BRepOffsetAPI_MakeOffset::BRepOffsetAPI_MakeOffset ( const TopoDS_Face Spine,
const GeomAbs_JoinType  Join = GeomAbs_Arc 
)
BRepOffsetAPI_MakeOffset::BRepOffsetAPI_MakeOffset ( const TopoDS_Wire Spine,
const GeomAbs_JoinType  Join = GeomAbs_Arc 
)

Member Function Documentation

void BRepOffsetAPI_MakeOffset::AddWire ( const TopoDS_Wire Spine)
virtual void BRepOffsetAPI_MakeOffset::Build ( ) [virtual]

Reimplemented from BRepBuilderAPI_MakeShape.

virtual const TopTools_ListOfShape& BRepOffsetAPI_MakeOffset::Generated ( const TopoDS_Shape S) [virtual]

Reimplemented from BRepBuilderAPI_MakeShape.

void BRepOffsetAPI_MakeOffset::Init ( const TopoDS_Face Spine,
const GeomAbs_JoinType  Join = GeomAbs_Arc 
)
void BRepOffsetAPI_MakeOffset::Init ( const GeomAbs_JoinType  Join = GeomAbs_Arc)
void BRepOffsetAPI_MakeOffset::Perform ( const Standard_Real  Offset,
const Standard_Real  Alt = 0.0 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines