OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKOffset
BRepOffsetAPI


BRepOffsetAPI_MakeEvolved Class Reference

Describes functions to build evolved shapes.
An evolved shape is built from a planar spine (face or
wire) and a profile (wire). The evolved shape is the
unlooped sweep (pipe) of the profile along the spine.
Self-intersections are removed.
A MakeEvolved object provides a framework for:
- defining the construction of an evolved shape,
- implementing the construction algorithm, and
- consulting the result.
Computes an Evolved by
1 - sweeping a profil along a spine.
2 - removing the self-intersections.

The profile is defined in a Referential R. The position of
the profile at the current point of the spine is given by
confusing R and the local referential given by ( D0, D1
and the normal of the Spine)

If the Boolean <axeprof> is true, R is O,X,Y,Z
else R is defined as the local refential at the nearest
point of the profil to the spine.

if <solid> is TRUE the Shape result is completed to be a
solid or a compound of solids.
.

#include <BRepOffsetAPI_MakeEvolved.hxx>

Inheritance diagram for BRepOffsetAPI_MakeEvolved:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepOffsetAPI_MakeEvolved ()
Standard_EXPORT BRepOffsetAPI_MakeEvolved (const TopoDS_Wire &Spine, const TopoDS_Wire &Profil, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Boolean AxeProf=Standard_True, const Standard_Boolean Solid=Standard_False, const Standard_Boolean ProfOnSpine=Standard_False, const Standard_Real Tol=0.0000001)
Standard_EXPORT BRepOffsetAPI_MakeEvolved (const TopoDS_Face &Spine, const TopoDS_Wire &Profil, const GeomAbs_JoinType Join=GeomAbs_Arc, const Standard_Boolean AxeProf=Standard_True, const Standard_Boolean Solid=Standard_False, const Standard_Boolean ProfOnSpine=Standard_False, const Standard_Real Tol=0.0000001)
 These constructors construct an evolved shape by sweeping the profile
Profile along the spine Spine.
The profile is defined in a coordinate system R.
The coordinate system is determined by AxeProf:
- if AxeProf is true, R is the global coordinate system,
- if AxeProf is false, R is computed so that:
- its origin is given by the point on the spine which is
closest to the profile,
- its "X Axis" is given by the tangent to the spine at this point, and
- its "Z Axis" is the normal to the plane which contains the spine.
The position of the profile at the current point of the
spine is given by making R coincident with the local
coordinate system given by the current point, the
tangent vector and the normal to the spine.
Join defines the type of pipe generated by the salient
vertices of the spine. The default type is GeomAbs_Arc
where the vertices generate revolved pipes about the
axis passing along the vertex and the normal to the
plane of the spine. At present, this is the only
construction type implemented.
.
Standard_EXPORT const BRepFill_EvolvedEvolved () const
virtual Standard_EXPORT void Build ()
 Builds the resulting shape (redefined from MakeShape).
.
Standard_EXPORT const TopTools_ListOfShape & GeneratedShapes (const TopoDS_Shape &SpineShape, const TopoDS_Shape &ProfShape) const
 Returns the shapes created from a subshape
<spineshape> of the spine and a subshape
<profshape> on the profile.
.
Standard_EXPORT const TopoDS_Shape & Top () const
 Return the face Top if <solid> is True in the constructor.
.
Standard_EXPORT const TopoDS_Shape & Bottom () const
 Return the face Bottom if <solid> is True in the constructor.
.

Private Attributes

BRepFill_Evolved myEvolved

Constructor & Destructor Documentation

Standard_EXPORT BRepOffsetAPI_MakeEvolved::BRepOffsetAPI_MakeEvolved  ) 
 

Standard_EXPORT BRepOffsetAPI_MakeEvolved::BRepOffsetAPI_MakeEvolved const TopoDS_Wire &  Spine,
const TopoDS_Wire &  Profil,
const GeomAbs_JoinType  Join = GeomAbs_Arc,
const Standard_Boolean  AxeProf = Standard_True,
const Standard_Boolean  Solid = Standard_False,
const Standard_Boolean  ProfOnSpine = Standard_False,
const Standard_Real  Tol = 0.0000001
 

Standard_EXPORT BRepOffsetAPI_MakeEvolved::BRepOffsetAPI_MakeEvolved const TopoDS_Face &  Spine,
const TopoDS_Wire &  Profil,
const GeomAbs_JoinType  Join = GeomAbs_Arc,
const Standard_Boolean  AxeProf = Standard_True,
const Standard_Boolean  Solid = Standard_False,
const Standard_Boolean  ProfOnSpine = Standard_False,
const Standard_Real  Tol = 0.0000001
 


Member Function Documentation

Standard_EXPORT const TopoDS_Shape& BRepOffsetAPI_MakeEvolved::Bottom  )  const
 

virtual Standard_EXPORT void BRepOffsetAPI_MakeEvolved::Build  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_EXPORT const BRepFill_Evolved& BRepOffsetAPI_MakeEvolved::Evolved  )  const
 

Standard_EXPORT const TopTools_ListOfShape& BRepOffsetAPI_MakeEvolved::GeneratedShapes const TopoDS_Shape &  SpineShape,
const TopoDS_Shape &  ProfShape
const
 

void BRepOffsetAPI_MakeEvolved::operator delete void *  anAddress  )  [inline]
 

Reimplemented from BRepBuilderAPI_MakeShape.

void* BRepOffsetAPI_MakeEvolved::operator new size_t  size  )  [inline]
 

Reimplemented from BRepBuilderAPI_MakeShape.

void* BRepOffsetAPI_MakeEvolved::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_EXPORT const TopoDS_Shape& BRepOffsetAPI_MakeEvolved::Top  )  const
 


Field Documentation

BRepFill_Evolved BRepOffsetAPI_MakeEvolved::myEvolved [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:26 2008 for OpenCASCADE by  doxygen 1.4.1