Open CASCADE Technology 6.6.0
Public Member Functions | Protected Attributes
BOPInt_ShrunkRange Class Reference

The class provides the computation of
a working (shrunk) range [t1, t2] for
the 3D-curve of the edge.

#include <BOPInt_ShrunkRange.hxx>

Public Member Functions

 BOPInt_ShrunkRange ()
void SetData (const TopoDS_Edge &aE, const Standard_Real aT1, const Standard_Real aT2, const TopoDS_Vertex &aV1, const TopoDS_Vertex &aV2, const Handle< BOPInt_Context > &ICtx)
void SetShrunkRange (const Standard_Real aT1, const Standard_Real aT2)
void ShrunkRange (Standard_Real &aT1, Standard_Real &aT2) const
const Bnd_BoxBndBox () const
const TopoDS_EdgeEdge () const
void Perform ()
Standard_Integer ErrorStatus () const
 Returns code of computing shrunk range
completion
0 - means successful completion
1 - nothing has been done
2 - initial range is out of edge's range
3 - first boundary of initial range is more than
last boundary
4 - projection of first vertex failed
5 - projection of second vertex failed
6 - shrunk range can not be computed
shrunk range is setted to initial range


Protected Attributes

TopoDS_Edge myEdge
TopoDS_Vertex myV1
TopoDS_Vertex myV2
Standard_Real myT1
Standard_Real myT2
Standard_Real myTS1
Standard_Real myTS2
Bnd_Box myBndBox
Handle_BOPInt_Context myCtx
Standard_Integer myErrorStatus

Constructor & Destructor Documentation

BOPInt_ShrunkRange::BOPInt_ShrunkRange ( )

Member Function Documentation

const Bnd_Box& BOPInt_ShrunkRange::BndBox ( ) const
const TopoDS_Edge& BOPInt_ShrunkRange::Edge ( ) const
Standard_Integer BOPInt_ShrunkRange::ErrorStatus ( ) const
void BOPInt_ShrunkRange::Perform ( )
void BOPInt_ShrunkRange::SetData ( const TopoDS_Edge aE,
const Standard_Real  aT1,
const Standard_Real  aT2,
const TopoDS_Vertex aV1,
const TopoDS_Vertex aV2,
const Handle< BOPInt_Context > &  ICtx 
)
void BOPInt_ShrunkRange::SetShrunkRange ( const Standard_Real  aT1,
const Standard_Real  aT2 
)
void BOPInt_ShrunkRange::ShrunkRange ( Standard_Real aT1,
Standard_Real aT2 
) const

Field Documentation

Handle_BOPInt_Context BOPInt_ShrunkRange::myCtx [protected]

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