Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IntTools_ShrunkRange Class Reference

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

#include <IntTools_ShrunkRange.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC IntTools_ShrunkRange ()
 Empty constructor


 IntTools_ShrunkRange (const TopoDS_Edge &aE, const TopoDS_Vertex &aV1, const TopoDS_Vertex &aV2, const IntTools_Range &aR, const Handle< IntTools_Context > &ICtx)
 

void SetContext (const Handle< IntTools_Context > &aContext)
 Sets the intersecton context


const Handle_IntTools_Context & Context () const
 Gets the intersecton context


void SetShrunkRange (const IntTools_Range &aR)
 Sets an shrunk range


const IntTools_RangeShrunkRange () const
 Returns shrunk range


const Bnd_BoxBndBox () const
 Returns bounding box for edge restricted
by shrunk range


const TopoDS_EdgeEdge () const
 Returns edge for which
the shrunk range is computed


void Perform ()
 Computes shrunk range for
an edge given in constructor


Standard_Boolean IsDone () const
 Returns true if no error occured
during shrunk range computation


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



Constructor & Destructor Documentation


Member Function Documentation

const Handle_IntTools_Context& IntTools_ShrunkRange::Context ( ) const

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