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

ModelingAlgorithms
TKTopAlgo
BRepMAT2d


BRepMAT2d_Explorer Class Reference

Construct an explorer from wires, face, set of curves
from Geom2d to compute the bisecting Locus.
.

#include <BRepMAT2d_Explorer.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepMAT2d_Explorer ()
Standard_EXPORT BRepMAT2d_Explorer (const TopoDS_Face &aFace)
Standard_EXPORT void Clear ()
 Clear the contents of <me>.
.
Standard_EXPORT void Perform (const TopoDS_Face &aFace)
Standard_EXPORT Standard_Integer NumberOfContours () const
 Returns the Number of contours.
.
Standard_EXPORT Standard_Integer NumberOfCurves (const Standard_Integer IndexContour) const
 Returns the Number of Curves in the Contour number
<indexcontour>.
.
Standard_EXPORT void Init (const Standard_Integer IndexContour)
 Initialisation of an Iterator on the curves of
the Contour number <indexcontour>.
.
Standard_EXPORT Standard_Boolean More () const
 Return False if there is no more curves on the Contour
initialised by the method Init.
.
Standard_EXPORT void Next ()
 Move to the next curve of the current Contour.
.
Standard_EXPORT Handle_Geom2d_Curve Value () const
 Returns the current curve on the current Contour.
.
Standard_EXPORT TopoDS_Shape Shape () const
Standard_EXPORT const TColGeom2d_SequenceOfCurve & Contour (const Standard_Integer IndexContour) const
Standard_EXPORT Standard_Boolean IsModified (const TopoDS_Shape &aShape) const
Standard_EXPORT TopoDS_Shape ModifiedShape (const TopoDS_Shape &aShape) const
 If the shape is not modified, returns the shape itself.
.
Standard_EXPORT const MAT2d_SequenceOfBooleanGetIsClosed () const

Private Member Functions

Standard_EXPORT void Add (const TopoDS_Wire &Spine, const TopoDS_Face &aFace, TopoDS_Face &aNewFace)
 Construction from a set of cuves from Geom2d.
Assume the orientation of the closed lines are
compatible. (ie if A is in B, the orientation of A and B
has to be different.

Assume the explo contains only lines located in the
area where the bisecting locus will be computed.

Assume a line don't cross itself or an other line.

A contour has to be construct in adding each curve in
respect to the sense of the contour.

afirst point of a curve in a contour is equal to the last
point of the precedent curve.

No control of this rules is done in the construction
of the explorer
.
Standard_EXPORT void NewContour ()
Standard_EXPORT void Add (const Handle(Geom2d_Curve)&aCurve)
 Add the curve <acurve> at me.
.

Private Attributes

MAT2d_SequenceOfSequenceOfCurve theCurves
Standard_Integer current
Standard_Integer currentContour
TopoDS_Shape myShape
MAT2d_SequenceOfBoolean myIsClosed
TopTools_IndexedDataMapOfShapeShape myModifShapes


Constructor & Destructor Documentation

Standard_EXPORT BRepMAT2d_Explorer::BRepMAT2d_Explorer  ) 
 

Standard_EXPORT BRepMAT2d_Explorer::BRepMAT2d_Explorer const TopoDS_Face &  aFace  ) 
 


Member Function Documentation

Standard_EXPORT void BRepMAT2d_Explorer::Add const Handle(Geom2d_Curve)&  aCurve  )  [private]
 

Standard_EXPORT void BRepMAT2d_Explorer::Add const TopoDS_Wire &  Spine,
const TopoDS_Face &  aFace,
TopoDS_Face &  aNewFace
[private]
 

Standard_EXPORT void BRepMAT2d_Explorer::Clear  ) 
 

Standard_EXPORT const TColGeom2d_SequenceOfCurve& BRepMAT2d_Explorer::Contour const Standard_Integer  IndexContour  )  const
 

Standard_EXPORT const MAT2d_SequenceOfBoolean& BRepMAT2d_Explorer::GetIsClosed  )  const
 

Standard_EXPORT void BRepMAT2d_Explorer::Init const Standard_Integer  IndexContour  ) 
 

Standard_EXPORT Standard_Boolean BRepMAT2d_Explorer::IsModified const TopoDS_Shape &  aShape  )  const
 

Standard_EXPORT TopoDS_Shape BRepMAT2d_Explorer::ModifiedShape const TopoDS_Shape &  aShape  )  const
 

Standard_EXPORT Standard_Boolean BRepMAT2d_Explorer::More  )  const
 

Standard_EXPORT void BRepMAT2d_Explorer::NewContour  )  [private]
 

Standard_EXPORT void BRepMAT2d_Explorer::Next  ) 
 

Standard_EXPORT Standard_Integer BRepMAT2d_Explorer::NumberOfContours  )  const
 

Standard_EXPORT Standard_Integer BRepMAT2d_Explorer::NumberOfCurves const Standard_Integer  IndexContour  )  const
 

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

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

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

Standard_EXPORT void BRepMAT2d_Explorer::Perform const TopoDS_Face &  aFace  ) 
 

Standard_EXPORT TopoDS_Shape BRepMAT2d_Explorer::Shape  )  const
 

Standard_EXPORT Handle_Geom2d_Curve BRepMAT2d_Explorer::Value  )  const
 


Field Documentation

Standard_Integer BRepMAT2d_Explorer::current [private]
 

Standard_Integer BRepMAT2d_Explorer::currentContour [private]
 

MAT2d_SequenceOfBoolean BRepMAT2d_Explorer::myIsClosed [private]
 

TopTools_IndexedDataMapOfShapeShape BRepMAT2d_Explorer::myModifShapes [private]
 

TopoDS_Shape BRepMAT2d_Explorer::myShape [private]
 

MAT2d_SequenceOfSequenceOfCurve BRepMAT2d_Explorer::theCurves [private]
 


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